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.001032/0.001032, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002461, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009114/0.0009114, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001212/0.002123, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.05/1.05, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1244/1.174, allocations: 53.66 MB / 243.4 MB, free: 15.51 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 2.605e-06/2.605e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.096e-05, allocations: 2.312 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002493/0.002514, allocations: 1.778 MB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003632, allocations: 0.7513 MB / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.003693, allocations: 0 / 247.2 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.003883, allocations: 59.64 kB / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.004005, allocations: 43.58 kB / 247.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.004721, allocations: 485.8 kB / 247.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.004929, allocations: 119.6 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005032, allocations: 22.44 kB / 247.9 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.00519, allocations: 91.8 kB / 248 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.005424, allocations: 75.78 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.005448, allocations: 12 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.005654, allocations: 123.8 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.005708, allocations: 27.86 kB / 248.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.005751, allocations: 35.88 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.006034, allocations: 167.4 kB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167e-05/0.006046, allocations: 0 / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006047, allocations: 0 / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.006061, allocations: 0 / 248.5 MB, free: 10.45 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.0009356/0.006996, allocations: 0.5241 MB / 249 MB, free: 9.887 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.007032, allocations: 12.03 kB / 249 MB, free: 9.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/0.007485, allocations: 116.8 kB / 249.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.007651, allocations: 154.1 kB / 249.3 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.007668, allocations: 8.375 kB / 249.3 MB, free: 9.578 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.007691, allocations: 8.375 kB / 249.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.007902, allocations: 117.7 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.007911, allocations: 192 / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.007928, allocations: 4.375 kB / 249.4 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.007962, allocations: 15.86 kB / 249.4 MB, free: 9.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.008042, allocations: 47.98 kB / 249.5 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000522/0.008564, allocations: 334.6 kB / 249.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.008752, allocations: 118.9 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.008788, allocations: 23.86 kB / 249.9 MB, free: 8.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.008811, allocations: 11.94 kB / 249.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.008834, allocations: 34.55 kB / 250 MB, free: 8.824 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.008835, allocations: 4 kB / 250 MB, free: 8.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001771/0.009012, allocations: 77.61 kB / 250 MB, free: 8.738 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.009047, allocations: 55.34 kB / 250.1 MB, free: 8.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.00915, allocations: 163.3 kB / 250.3 MB, free: 8.496 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.009165, allocations: 25.7 kB / 250.3 MB, free: 8.465 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.009232, allocations: 127.8 kB / 250.4 MB, free: 8.336 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.009254, allocations: 31.73 kB / 250.4 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.009308, allocations: 33.64 kB / 250.5 MB, free: 8.266 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.009405, allocations: 322.8 kB / 250.8 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.307e-05/0.009438, allocations: 22.81 kB / 250.8 MB, free: 7.918 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.636e-05/0.009485, allocations: 48.27 kB / 250.9 MB, free: 7.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.315e-05/0.009568, allocations: 75.03 kB / 250.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.009572, allocations: 3.938 kB / 250.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001123/0.009684, allocations: 92.36 kB / 251 MB, free: 7.664 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.009699, allocations: 8 kB / 251 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.009703, allocations: 0 / 251 MB, free: 7.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.009717, allocations: 8.125 kB / 251 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.009813, allocations: 27.98 kB / 251.1 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.00982, allocations: 7.922 kB / 251.1 MB, free: 7.613 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.00986, allocations: 8 kB / 251.1 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.009869, allocations: 4 kB / 251.1 MB, free: 7.602 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 7.639e-05/0.009946, allocations: 124.6 kB / 251.2 MB, free: 7.469 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.009965, allocations: 11.92 kB / 251.2 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.0101, allocations: 99 kB / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.0101, allocations: 0 / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.0101, allocations: 7.938 kB / 251.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01011, allocations: 0 / 251.3 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.01023, allocations: 105.8 kB / 251.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.01023, allocations: 0 / 251.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.0103, allocations: 31.91 kB / 251.5 MB, free: 7.199 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.01033, allocations: 15.91 kB / 251.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.01033, allocations: 0 / 251.5 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.01034, allocations: 4 kB / 251.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.01034, allocations: 0 / 251.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01034, allocations: 0 / 251.5 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.01047, allocations: 230.2 kB / 251.7 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.01049, allocations: 15.98 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-05/0.01054, allocations: 0 / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.01058, allocations: 15.97 kB / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.01058, allocations: 0 / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.189e-05/0.01063, allocations: 50.38 kB / 251.8 MB, free: 6.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01063, allocations: 0 / 251.8 MB, free: 6.855 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.01078, allocations: 31.88 kB / 251.8 MB, free: 6.824 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.0001153/0.0109, allocations: 88.42 kB / 251.9 MB, free: 6.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.01104, allocations: 52.77 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.01105, allocations: 4 kB / 252 MB, free: 6.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.01112, allocations: 48.7 kB / 252 MB, free: 6.617 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.01138, allocations: 138.3 kB / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01242, allocations: 307 kB / 252.4 MB, free: 6.129 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.01247, allocations: 75.33 kB / 252.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.01252, allocations: 20.42 kB / 252.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.0126, allocations: 63.38 kB / 252.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0126, allocations: 0 / 252.6 MB, free: 5.953 MB / 250.7 MB Notification: Performance of Templates: time 0.003607/0.01621, allocations: 1.68 MB / 254.3 MB, free: 4.301 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.791369562037289]