Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|logFrequencySweep.y|const.y.re|const.y.im|transferFunction.y.re|transferFunction.y.im",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009786/0.0009786, allocations: 49.61 kB / 300.6 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1272, allocations: 49.43 MB / 350 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003544/0.1308, allocations: 1.64 MB / 351.7 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.132, allocations: 0.6402 MB / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.1321, allocations: 0 / 352.3 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.1324, allocations: 59.7 kB / 352.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.1326, allocations: 27.8 kB / 352.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1337, allocations: 0.606 MB / 353 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.134, allocations: 111.7 kB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1341, allocations: 29.11 kB / 353.1 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.1343, allocations: 59.77 kB / 353.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.1345, allocations: 79.67 kB / 353.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1345, allocations: 11.94 kB / 353.3 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.1348, allocations: 139.8 kB / 353.4 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.793e-05/0.1349, allocations: 35.91 kB / 353.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.135, allocations: 55.59 kB / 353.5 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1353, allocations: 211.4 kB / 353.7 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1354, allocations: 4 kB / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1354, allocations: 0 / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1354, allocations: 0 / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001598/0.137, allocations: 0.5602 MB / 354.3 MB, free: 124 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.009e-05/0.1371, allocations: 15.89 kB / 354.3 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.1384, allocations: 168.5 kB / 354.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1386, allocations: 199.9 kB / 354.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1386, allocations: 12.38 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1387, allocations: 8.375 kB / 354.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.1391, allocations: 189.9 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.1391, allocations: 0 / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1391, allocations: 0 / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.1391, allocations: 8 kB / 354.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.1396, allocations: 163.8 kB / 355 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1407, allocations: 0.539 MB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.1411, allocations: 158.5 kB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.1413, allocations: 96.8 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1413, allocations: 4 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1414, allocations: 42.48 kB / 355.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.326e-06/0.1414, allocations: 3.984 kB / 355.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007086/0.1421, allocations: 261.5 kB / 356.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.1421, allocations: 55.41 kB / 356.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1424, allocations: 182.4 kB / 356.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1424, allocations: 29.7 kB / 356.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.905e-05/0.1425, allocations: 116.2 kB / 356.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1426, allocations: 43.36 kB / 356.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.1426, allocations: 37.69 kB / 356.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1428, allocations: 322.8 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.143, allocations: 67.95 kB / 357 MB, free: 13.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1432, allocations: 90.45 kB / 357 MB, free: 13.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.1437, allocations: 170.4 kB / 357.2 MB, free: 13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1437, allocations: 4 kB / 357.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004872/0.1442, allocations: 216.6 kB / 357.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1442, allocations: 7.938 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1442, allocations: 0 / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1443, allocations: 4 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1445, allocations: 43.84 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1445, allocations: 3.984 kB / 357.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1447, allocations: 23.95 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1447, allocations: 7.984 kB / 357.5 MB, free: 12.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.1448, allocations: 129.8 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1449, allocations: 19.75 kB / 357.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006523/0.1456, allocations: 250.9 kB / 357.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1456, allocations: 4 kB / 357.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1456, allocations: 7.938 kB / 357.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1456, allocations: 0 / 357.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1459, allocations: 265.5 kB / 358.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1459, allocations: 0 / 358.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.1462, allocations: 35.97 kB / 358.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1462, allocations: 3.938 kB / 358.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1462, allocations: 11.98 kB / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1462, allocations: 0 / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1462, allocations: 0 / 358.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.1468, allocations: 321.6 kB / 358.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-05/0.1468, allocations: 104.8 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1469, allocations: 0 / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1471, allocations: 11.98 kB / 358.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.1471, allocations: 11.98 kB / 358.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1471, allocations: 11.98 kB / 358.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1473, allocations: 144.2 kB / 358.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1473, allocations: 0 / 358.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1476, allocations: 28 kB / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001794/0.1478, allocations: 107.2 kB / 359 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005288/0.1484, allocations: 183.7 kB / 359.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1484, allocations: 4 kB / 359.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.1486, allocations: 95.88 kB / 359.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1489, allocations: 19.98 kB / 359.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.1497, allocations: 332.5 kB / 359.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.1501, allocations: 0.7202 MB / 360.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001267/0.1502, allocations: 37.39 kB / 360.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.1503, allocations: 27.42 kB / 360.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1503, allocations: 0 / 360.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Templates: time 0.005165/0.1555, allocations: 1.951 MB / 362.3 MB, free: 7.746 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches