Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008758/0.0008758, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00115/0.002026, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007052/0.0007052, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009252/0.00163, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9414/0.9414, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.031, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.888e-05, allocations: 4.984 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001898/0.001917, allocations: 1.775 MB / 246.3 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.002893, allocations: 0.7552 MB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.952e-05/0.002962, allocations: 0 / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.003149, allocations: 55.66 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.003263, allocations: 39.66 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.003931, allocations: 481.8 kB / 247.6 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.004126, allocations: 127.5 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.004212, allocations: 18.45 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.004339, allocations: 95.73 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.004521, allocations: 79.77 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.004542, allocations: 12 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.00475, allocations: 119.9 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.004796, allocations: 27.86 kB / 248.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.004836, allocations: 31.88 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.005316, allocations: 163.4 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.005328, allocations: 4 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005329, allocations: 0 / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.005344, allocations: 0 / 248.3 MB, free: 10.55 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.000759/0.006103, allocations: 0.5241 MB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.006131, allocations: 12.03 kB / 248.8 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.006495, allocations: 128.7 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.006632, allocations: 141.4 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.006646, allocations: 8.375 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.00666, allocations: 4.375 kB / 249.1 MB, free: 9.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.006831, allocations: 136 kB / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.00684, allocations: 192 / 249.2 MB, free: 9.527 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.006854, allocations: 8.375 kB / 249.2 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.006874, allocations: 7.938 kB / 249.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.006949, allocations: 43.97 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.007401, allocations: 330.7 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.007556, allocations: 122.9 kB / 249.7 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.007587, allocations: 23.67 kB / 249.7 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.007604, allocations: 4 kB / 249.7 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.007622, allocations: 30.56 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.007623, allocations: 0 / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001486/0.007772, allocations: 85.78 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.007803, allocations: 59.34 kB / 249.9 MB, free: 8.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.575e-05/0.007889, allocations: 164 kB / 250.1 MB, free: 8.59 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.007902, allocations: 29.7 kB / 250.1 MB, free: 8.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.007956, allocations: 119.8 kB / 250.2 MB, free: 8.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.007975, allocations: 35.72 kB / 250.2 MB, free: 8.398 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.008015, allocations: 33.66 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.008095, allocations: 326.8 kB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.008122, allocations: 18.83 kB / 250.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.008162, allocations: 44.28 kB / 250.7 MB, free: 7.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.008236, allocations: 82.95 kB / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.008238, allocations: 0 / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.471e-05/0.008333, allocations: 96.36 kB / 250.8 MB, free: 7.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.008343, allocations: 6.969 kB / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.008347, allocations: 0 / 250.8 MB, free: 7.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.784e-06/0.008354, allocations: 4 kB / 250.8 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.134e-05/0.008446, allocations: 31.97 kB / 250.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.00845, allocations: 12 kB / 250.9 MB, free: 7.703 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.00849, allocations: 8 kB / 250.9 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.0085, allocations: 8 kB / 250.9 MB, free: 7.688 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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 6.397e-05/0.008564, allocations: 112.7 kB / 251 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.008583, allocations: 11.98 kB / 251 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.008697, allocations: 106.9 kB / 251.1 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.0087, allocations: 4 kB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008703, allocations: 3.938 kB / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008706, allocations: 0 / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.008817, allocations: 113.8 kB / 251.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008818, allocations: 0 / 251.2 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.008888, allocations: 23.97 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.008917, allocations: 15.91 kB / 251.3 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.008918, allocations: 0 / 251.3 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.008926, allocations: 3.984 kB / 251.3 MB, free: 7.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.008928, allocations: 4 kB / 251.3 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008929, allocations: 0 / 251.3 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.009049, allocations: 222.1 kB / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.009063, allocations: 0 / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.84e-05/0.009111, allocations: 11.98 kB / 251.5 MB, free: 7.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.009145, allocations: 7.984 kB / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.009151, allocations: 4 kB / 251.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.009185, allocations: 45.73 kB / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009185, allocations: 0 / 251.6 MB, free: 6.961 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.009332, allocations: 31.88 kB / 251.6 MB, free: 6.93 MB / 250.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 (11): * Single equations (assignments): 11 * 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.0001144/0.009447, allocations: 88.41 kB / 251.7 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.009566, allocations: 56.77 kB / 251.7 MB, free: 6.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.009573, allocations: 4 kB / 251.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.708e-05/0.00961, allocations: 32.78 kB / 251.8 MB, free: 6.734 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.009805, allocations: 39.09 kB / 251.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.01078, allocations: 310.7 kB / 252.1 MB, free: 6.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.01083, allocations: 75.33 kB / 252.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.824e-05/0.01088, allocations: 16.42 kB / 252.2 MB, free: 6.254 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.01095, allocations: 75.36 kB / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01095, allocations: 0 / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of Templates: time 0.003322/0.01427, allocations: 1.718 MB / 254 MB, free: 4.48 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.561211141757667]