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.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.001463/0.001463, allocations: 84.3 kB / 22.21 MB, free: 2.285 MB / 18.57 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.002102/0.002102, allocations: 165.4 kB / 25.6 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.13/1.13, allocations: 158.6 MB / 187.5 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.421e-05, allocations: 6.25 kB / 251.4 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002407/0.002431, allocations: 1.606 MB / 253 MB, free: 5.648 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003401, allocations: 0.6512 MB / 253.7 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.003463, allocations: 4 kB / 253.7 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.003727, allocations: 63.58 kB / 253.8 MB, free: 4.922 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.003909, allocations: 31.73 kB / 253.8 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.005077, allocations: 0.5874 MB / 254.4 MB, free: 4.301 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.005248, allocations: 115.7 kB / 254.5 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.005355, allocations: 17.3 kB / 254.5 MB, free: 4.172 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.00551, allocations: 83.73 kB / 254.6 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005639, allocations: 59.86 kB / 254.6 MB, free: 4.031 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.005661, allocations: 12 kB / 254.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.005824, allocations: 111.8 kB / 254.8 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.005876, allocations: 39.83 kB / 254.8 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.005914, allocations: 31.91 kB / 254.8 MB, free: 3.84 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.006191, allocations: 207.3 kB / 255 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.686e-06/0.006194, allocations: 4 kB / 255 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006195, allocations: 0 / 255 MB, free: 3.633 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.0062, allocations: 0 / 255 MB, free: 3.633 MB / 234.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.001002/0.007202, allocations: 0.5816 MB / 255.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.007258, allocations: 23.97 kB / 255.6 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.008263, allocations: 196.6 kB / 255.8 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.008484, allocations: 152.4 kB / 256 MB, free: 2.625 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.008508, allocations: 12.23 kB / 256 MB, free: 2.613 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.008524, allocations: 12.38 kB / 256 MB, free: 2.602 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.008793, allocations: 126.8 kB / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.008805, allocations: 192 / 256.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.008822, allocations: 4.375 kB / 256.1 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/0.008856, allocations: 7.938 kB / 256.1 MB, free: 2.457 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.008957, allocations: 55.94 kB / 256.2 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.009655, allocations: 443.7 kB / 256.6 MB, free: 1.938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.009851, allocations: 99 kB / 256.7 MB, free: 1.828 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.0099, allocations: 35.67 kB / 256.8 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.009937, allocations: 7.984 kB / 256.8 MB, free: 1.781 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.009968, allocations: 37.39 kB / 256.8 MB, free: 1.734 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.009969, allocations: 0 / 256.8 MB, free: 1.734 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002775/0.01025, allocations: 133.7 kB / 256.9 MB, free: 1.598 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.01028, allocations: 51.41 kB / 257 MB, free: 1.535 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01042, allocations: 210.3 kB / 257.2 MB, free: 1.312 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.01045, allocations: 29.64 kB / 257.2 MB, free: 1.277 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.01054, allocations: 166.7 kB / 257.4 MB, free: 1.109 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.01058, allocations: 47.62 kB / 257.4 MB, free: 1.062 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.01064, allocations: 39.34 kB / 257.5 MB, free: 1.016 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01081, allocations: 0.5001 MB / 258 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.967e-05/0.01087, allocations: 19.97 kB / 258 MB, free: 496 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.01094, allocations: 58.62 kB / 258.1 MB, free: 428 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.01107, allocations: 90.7 kB / 258.1 MB, free: 328 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01107, allocations: 0 / 258.1 MB, free: 328 kB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002033/0.01127, allocations: 117.5 kB / 258.3 MB, free: 204 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01129, allocations: 4 kB / 258.3 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01129, allocations: 4 kB / 258.3 MB, free: 196 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01131, allocations: 4.062 kB / 258.3 MB, free: 192 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.01145, allocations: 35.91 kB / 258.3 MB, free: 156 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01145, allocations: 3.938 kB / 258.3 MB, free: 152 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.01151, allocations: 15.94 kB / 258.3 MB, free: 136 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.01152, allocations: 4 kB / 258.3 MB, free: 132 kB / 234.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 0.0001356/0.01165, allocations: 160.6 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.01169, allocations: 19.91 kB / 258.5 MB, free: 15.94 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.01197, allocations: 154.1 kB / 258.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01197, allocations: 4 kB / 258.7 MB, free: 15.78 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01198, allocations: 11.92 kB / 258.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01198, allocations: 0 / 258.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.01218, allocations: 157.2 kB / 258.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.01219, allocations: 4 kB / 258.8 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.0123, allocations: 31.97 kB / 258.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.0123, allocations: 0 / 258.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01232, allocations: 11.98 kB / 258.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.01232, allocations: 0 / 258.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01232, allocations: 0 / 258.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.01257, allocations: 290.8 kB / 259.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.01259, allocations: 11.89 kB / 259.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.0126, allocations: 8 kB / 259.2 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.01267, allocations: 11.94 kB / 259.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.01271, allocations: 11.97 kB / 259.2 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01273, allocations: 7.984 kB / 259.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.424e-05/0.0128, allocations: 155.2 kB / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0128, allocations: 0 / 259.4 MB, free: 15.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.01299, allocations: 31.95 kB / 259.4 MB, free: 15 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 (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.0001282/0.01312, allocations: 107.2 kB / 259.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.01327, allocations: 83.55 kB / 259.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01327, allocations: 0 / 259.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.01333, allocations: 55.59 kB / 259.6 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.01354, allocations: 19.98 kB / 259.6 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.01416, allocations: 309.7 kB / 259.9 MB, free: 14.4 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.642e-05/0.01422, allocations: 75.83 kB / 260 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.0143, allocations: 21.12 kB / 260 MB, free: 14.28 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.01441, allocations: 102.2 kB / 260.1 MB, free: 14.18 MB / 250.7 MB Notification: Performance of SimCode: time 1.483e-06/0.01441, allocations: 0 / 260.1 MB, free: 14.18 MB / 250.7 MB Notification: Performance of Templates: time 0.004426/0.01884, allocations: 2.055 MB / 262.2 MB, free: 12.13 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 240] 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","",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.925477301236242]