Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001676/0.001676, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.002277/0.002277, allocations: 187 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 48.22 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1134, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003795/0.1173, allocations: 1.592 MB / 376.7 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1189, allocations: 0.687 MB / 377.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1191, allocations: 8 kB / 377.4 MB, free: 2.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1194, allocations: 47.73 kB / 377.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.1197, allocations: 39.72 kB / 377.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.121, allocations: 0.5875 MB / 378.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.1213, allocations: 123.7 kB / 378.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1215, allocations: 25.06 kB / 378.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1217, allocations: 75.69 kB / 378.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1219, allocations: 79.67 kB / 378.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.122, allocations: 8 kB / 378.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.1223, allocations: 131.8 kB / 378.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1224, allocations: 39.89 kB / 378.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.1225, allocations: 51.66 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.1229, allocations: 227.3 kB / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1229, allocations: 0 / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1229, allocations: 0 / 378.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1229, allocations: 0 / 378.8 MB, free: 0.8594 MB / 318.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.001853/0.1248, allocations: 0.5535 MB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1249, allocations: 8.031 kB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.1263, allocations: 176.5 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2264/0.3527, allocations: 183.5 kB / 379.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.3528, allocations: 12.55 kB / 379.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.3529, allocations: 8.969 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.3535, allocations: 175.1 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3535, allocations: 1.031 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.3535, allocations: 5.094 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.3536, allocations: 5.281 kB / 379.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004482/0.354, allocations: 169.9 kB / 380.1 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.3551, allocations: 0.5399 MB / 380.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.3555, allocations: 168.2 kB / 380.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.3557, allocations: 93.06 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.3557, allocations: 2.625 kB / 380.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3558, allocations: 31.94 kB / 380.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.033e-06/0.3558, allocations: 0.7656 kB / 380.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007066/0.3565, allocations: 262.9 kB / 381.2 MB, free: 12.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.3565, allocations: 57.2 kB / 381.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.3567, allocations: 184.6 kB / 381.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3567, allocations: 26.64 kB / 381.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3568, allocations: 118 kB / 381.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.3568, allocations: 43 kB / 381.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.944e-05/0.3569, allocations: 38.05 kB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.357, allocations: 329 kB / 382 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3572, allocations: 64.17 kB / 382 MB, free: 11.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.3574, allocations: 94.22 kB / 382.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.3578, allocations: 165.5 kB / 382.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3578, allocations: 0 / 382.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005673/0.3584, allocations: 220.5 kB / 382.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3584, allocations: 5.75 kB / 382.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3584, allocations: 1.938 kB / 382.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3585, allocations: 1.5 kB / 382.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.3587, allocations: 37.27 kB / 382.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3588, allocations: 5.719 kB / 382.5 MB, free: 11.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.3589, allocations: 22.28 kB / 382.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.3589, allocations: 5.375 kB / 382.6 MB, free: 11.77 MB / 318.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.0001063/0.3591, allocations: 139.1 kB / 382.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3591, allocations: 14.25 kB / 382.7 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006837/0.3598, allocations: 247.5 kB / 383 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.3598, allocations: 6.141 kB / 383 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3598, allocations: 3.938 kB / 383 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3598, allocations: 1.844 kB / 383 MB, free: 11.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.3601, allocations: 275.9 kB / 383.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3602, allocations: 1.094 kB / 383.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.3604, allocations: 46.2 kB / 383.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3604, allocations: 0 / 383.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3604, allocations: 8.078 kB / 383.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3604, allocations: 1.094 kB / 383.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3604, allocations: 3.938 kB / 383.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.3609, allocations: 318.2 kB / 383.6 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.361, allocations: 98.45 kB / 383.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.361, allocations: 5.641 kB / 383.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3612, allocations: 11.59 kB / 383.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.3613, allocations: 16.98 kB / 383.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3613, allocations: 5.312 kB / 383.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.3614, allocations: 151.5 kB / 383.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3614, allocations: 3.938 kB / 383.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3617, allocations: 25.59 kB / 383.9 MB, free: 10.86 MB / 318.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.0001338/0.3618, allocations: 106.5 kB / 384 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004826/0.3623, allocations: 174 kB / 384.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3623, allocations: 0 / 384.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.3625, allocations: 103.2 kB / 384.3 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3628, allocations: 17.02 kB / 384.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.3634, allocations: 311 kB / 384.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3636, allocations: 0.7263 MB / 385.3 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.3638, allocations: 35.16 kB / 385.4 MB, free: 9.781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.3638, allocations: 26.48 kB / 385.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3639, allocations: 1.062 kB / 385.4 MB, free: 9.77 MB / 318.1 MB Notification: Performance of Templates: time 0.005802/0.3697, allocations: 1.982 MB / 387.4 MB, free: 9.625 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches