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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.061/1.061, allocations: 173.4 MB / 201.2 MB, free: 8.98 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 3.938 kB / 267.9 MB, free: 6.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.182e-05, allocations: 2.312 kB / 268 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002769/0.002801, allocations: 1.658 MB / 269.6 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004035, allocations: 0.6385 MB / 270.2 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.004105, allocations: 4 kB / 270.3 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.004467, allocations: 43.73 kB / 270.3 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.004683, allocations: 47.64 kB / 270.3 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.005686, allocations: 0.5562 MB / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.005912, allocations: 111.7 kB / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.006023, allocations: 21.28 kB / 271 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.006202, allocations: 79.8 kB / 271.1 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.006377, allocations: 67.8 kB / 271.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.006406, allocations: 8 kB / 271.2 MB, free: 3.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.006591, allocations: 103.8 kB / 271.3 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.006655, allocations: 35.84 kB / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.006705, allocations: 35.89 kB / 271.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.007033, allocations: 195.3 kB / 271.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.007036, allocations: 4 kB / 271.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007037, allocations: 0 / 271.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.007043, allocations: 0 / 271.5 MB, free: 2.703 MB / 250.7 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.001245/0.008288, allocations: 0.5779 MB / 272.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.008333, allocations: 8.922 kB / 272.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.0094, allocations: 188.6 kB / 272.3 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.009629, allocations: 163.4 kB / 272.5 MB, free: 1.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.009652, allocations: 12.23 kB / 272.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.009678, allocations: 8.375 kB / 272.5 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.009985, allocations: 134.9 kB / 272.6 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.009995, allocations: 192 / 272.6 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.01002, allocations: 12.34 kB / 272.6 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.01005, allocations: 11.94 kB / 272.7 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.01023, allocations: 71.95 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.01102, allocations: 467.2 kB / 273.2 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.01126, allocations: 114.9 kB / 273.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.01135, allocations: 51.66 kB / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.01138, allocations: 0 / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.01141, allocations: 41.39 kB / 273.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.01141, allocations: 0 / 273.4 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003816/0.01179, allocations: 141.8 kB / 273.5 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.01183, allocations: 59.28 kB / 273.6 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.01211, allocations: 208.9 kB / 273.8 MB, free: 312 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01213, allocations: 25.7 kB / 273.8 MB, free: 280 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.01221, allocations: 166.7 kB / 274 MB, free: 108 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.01225, allocations: 51.55 kB / 274 MB, free: 56 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.01232, allocations: 47.34 kB / 274.1 MB, free: 0 / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.01247, allocations: 0.4962 MB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.01253, allocations: 19.98 kB / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.265e-05/0.01263, allocations: 59.03 kB / 274.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.01279, allocations: 90.98 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01279, allocations: 0 / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002476/0.01304, allocations: 137.4 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01306, allocations: 4 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01306, allocations: 8.062 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.01308, allocations: 3.938 kB / 274.9 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.01325, allocations: 35.97 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.01326, allocations: 0 / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.987e-05/0.01334, allocations: 15.94 kB / 274.9 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01336, allocations: 8 kB / 274.9 MB, free: 15.09 MB / 266.7 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 9.553e-05/0.01345, allocations: 164.5 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.01349, allocations: 11.95 kB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003211/0.01382, allocations: 166.3 kB / 275.3 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01382, allocations: 3.938 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01383, allocations: 0 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01383, allocations: 3.984 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.01405, allocations: 188.5 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01405, allocations: 0 / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.0142, allocations: 39.91 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01421, allocations: 0 / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01422, allocations: 4 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.01423, allocations: 7.984 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.01423, allocations: 3.938 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.01453, allocations: 298.2 kB / 275.8 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.01455, allocations: 19.83 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01458, allocations: 4 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.01467, allocations: 4 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.01473, allocations: 19.91 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.01474, allocations: 11.98 kB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.01483, allocations: 146.4 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01483, allocations: 0 / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.01513, allocations: 35.89 kB / 276 MB, free: 13.91 MB / 266.7 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.0001373/0.01527, allocations: 107.2 kB / 276.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.01551, allocations: 103.5 kB / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01551, allocations: 0 / 276.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/0.01561, allocations: 59.59 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.01592, allocations: 22.8 kB / 276.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.01669, allocations: 306.8 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.01675, allocations: 79.83 kB / 276.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.01684, allocations: 29.11 kB / 276.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.01692, allocations: 24.48 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01692, allocations: 0 / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of Templates: time 0.005453/0.02237, allocations: 2.067 MB / 278.8 MB, free: 11.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.889968574978411]