Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002627/0.002627, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003091/0.003091, allocations: 156.8 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.736e-05, allocations: 4.984 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002599/0.002626, allocations: 1.373 MB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01762/0.02024, allocations: 11.96 MB / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.02031, allocations: 0 / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.02034, allocations: 3.938 kB / 285.5 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004755/0.02509, allocations: 1.057 MB / 286.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.02763, allocations: 0.6525 MB / 287.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.02779, allocations: 67.64 kB / 287.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.02783, allocations: 4 kB / 287.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.02793, allocations: 39.89 kB / 287.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.02805, allocations: 27.95 kB / 287.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.02808, allocations: 7.938 kB / 287.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.03252, allocations: 1.49 MB / 288.9 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.03255, allocations: 11.98 kB / 288.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.03261, allocations: 19.92 kB / 288.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.12/0.1526, allocations: 1.239 MB / 290.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1526, allocations: 0.7656 kB / 290.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1526, allocations: 1.562 kB / 290.1 MB, free: 17.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.1526, allocations: 0 / 290.1 MB, free: 17.66 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007549/0.1534, allocations: 0.5729 MB / 290.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1534, allocations: 13.42 kB / 290.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1536, allocations: 18.47 kB / 290.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1537, allocations: 124 kB / 290.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1537, allocations: 2.312 kB / 290.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1537, allocations: 5.219 kB / 290.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.1539, allocations: 125.3 kB / 291 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1539, allocations: 1.188 kB / 291 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1539, allocations: 2.375 kB / 291 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1539, allocations: 6.438 kB / 291 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.154, allocations: 20.69 kB / 291 MB, free: 16.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1542, allocations: 136.7 kB / 291.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1544, allocations: 95.53 kB / 291.2 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.38e-05/0.1545, allocations: 30.11 kB / 291.3 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005669/0.1602, allocations: 1.51 MB / 292.8 MB, free: 16.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.1602, allocations: 37.83 kB / 292.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1602, allocations: 0 / 292.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003151/0.1605, allocations: 90.91 kB / 292.9 MB, free: 16.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.1605, allocations: 82.81 kB / 293 MB, free: 16.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.1606, allocations: 178.7 kB / 293.2 MB, free: 16.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.1606, allocations: 27.56 kB / 293.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.1607, allocations: 132.6 kB / 293.3 MB, free: 16.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1607, allocations: 19.8 kB / 293.3 MB, free: 16.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1607, allocations: 25.78 kB / 293.4 MB, free: 16.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.1608, allocations: 498.6 kB / 293.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.1608, allocations: 9.844 kB / 293.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.1609, allocations: 32.31 kB / 293.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.161, allocations: 47.33 kB / 293.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.161, allocations: 1.25 kB / 293.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001578/0.1612, allocations: 68.31 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1612, allocations: 5.203 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1612, allocations: 1.094 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1612, allocations: 1.188 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.1613, allocations: 15.03 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1613, allocations: 5.438 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.1613, allocations: 5.641 kB / 294 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1613, allocations: 8.75 kB / 294.1 MB, free: 15.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 5.073e-05/0.1614, allocations: 160.3 kB / 294.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1614, allocations: 12.88 kB / 294.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.1616, allocations: 104 kB / 294.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1616, allocations: 1.188 kB / 294.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1617, allocations: 8.391 kB / 294.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1617, allocations: 1.578 kB / 294.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.764e-05/0.1617, allocations: 123 kB / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1617, allocations: 4 kB / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.1618, allocations: 11.83 kB / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1618, allocations: 1.609 kB / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1618, allocations: 1.703 kB / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1618, allocations: 2.312 kB / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1618, allocations: 0 / 294.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.162, allocations: 127.6 kB / 294.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.162, allocations: 12.56 kB / 294.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.162, allocations: 4.75 kB / 294.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.227e-05/0.1621, allocations: 11.88 kB / 294.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1622, allocations: 9.828 kB / 294.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.1622, allocations: 3.344 kB / 294.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.1622, allocations: 137.2 kB / 294.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1622, allocations: 0 / 294.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007755/0.163, allocations: 328.7 kB / 295.1 MB, free: 14.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.001091/0.1641, allocations: 0.6157 MB / 295.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.1643, allocations: 47.97 kB / 295.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1643, allocations: 1.594 kB / 295.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.1643, allocations: 32.17 kB / 295.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.1645, allocations: 17.45 kB / 295.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.1649, allocations: 172 kB / 296 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.1649, allocations: 74.11 kB / 296 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.165, allocations: 43.17 kB / 296.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.1651, allocations: 23.3 kB / 296.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of SimCode: time 4.5e-07/0.1651, allocations: 1.312 kB / 296.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of Templates: time 0.01346/0.1785, allocations: 9.273 MB / 305.4 MB, free: 11.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.695028509944677]