Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001735/0.001735, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002101/0.002101, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 43.94 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2705, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002496/0.273, allocations: 1.347 MB / 433.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02956/0.3025, allocations: 21.17 MB / 454.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.3026, allocations: 0 / 454.9 MB, free: 104 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3027, allocations: 3.938 kB / 454.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01511/0.3178, allocations: 5.953 MB / 460.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008856/0.3187, allocations: 370.7 kB / 461.2 MB, free: 9.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.3188, allocations: 75.69 kB / 461.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.3188, allocations: 0 / 461.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.3189, allocations: 27.92 kB / 461.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.319, allocations: 47.81 kB / 461.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.319, allocations: 7.938 kB / 461.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/0.3348, allocations: 8.386 MB / 469.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.3348, allocations: 15.97 kB / 469.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.3349, allocations: 23.92 kB / 469.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3456, allocations: 4.338 MB / 474.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3457, allocations: 0 / 474.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3457, allocations: 0 / 474.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3457, allocations: 0 / 474.1 MB, free: 12.85 MB / 382.1 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.002426/0.3481, allocations: 0.8641 MB / 475 MB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.3481, allocations: 8.031 kB / 475 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.3482, allocations: 8.891 kB / 475 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.3484, allocations: 150 kB / 475.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3484, allocations: 8 kB / 475.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3484, allocations: 0 / 475.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.3486, allocations: 118.8 kB / 475.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3486, allocations: 3.938 kB / 475.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.3486, allocations: 4 kB / 475.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3486, allocations: 0 / 475.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.3488, allocations: 31.97 kB / 475.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.349, allocations: 134.2 kB / 475.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.3493, allocations: 105.1 kB / 475.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.553e-05/0.3493, allocations: 29.77 kB / 475.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-05/0.3494, allocations: 8 kB / 475.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3494, allocations: 38.55 kB / 475.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3494, allocations: 0 / 475.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003234/0.3498, allocations: 101.5 kB / 475.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3498, allocations: 77.11 kB / 475.8 MB, free: 11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3499, allocations: 137.8 kB / 475.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.35, allocations: 29.7 kB / 475.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.35, allocations: 88.14 kB / 476 MB, free: 10.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.3501, allocations: 31.72 kB / 476 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3501, allocations: 13.72 kB / 476.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3502, allocations: 318.8 kB / 476.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.3503, allocations: 15.98 kB / 476.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.3504, allocations: 33.7 kB / 476.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3505, allocations: 58.05 kB / 476.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3505, allocations: 0 / 476.5 MB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.3507, allocations: 85.55 kB / 476.6 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3507, allocations: 8 kB / 476.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3507, allocations: 0 / 476.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3507, allocations: 128 / 476.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.3508, allocations: 19.98 kB / 476.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3508, allocations: 0 / 476.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.3508, allocations: 3.953 kB / 476.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.3509, allocations: 4 kB / 476.6 MB, free: 10.12 MB / 382.1 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 9.443e-05/0.3509, allocations: 121.7 kB / 476.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.351, allocations: 0 / 476.7 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.3512, allocations: 109.6 kB / 476.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3512, allocations: 0 / 476.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3512, allocations: 0 / 476.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3512, allocations: 4 kB / 476.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.3514, allocations: 121.2 kB / 476.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3514, allocations: 384 / 476.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.3514, allocations: 15.98 kB / 477 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3514, allocations: 0 / 477 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3514, allocations: 0 / 477 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3515, allocations: 7.938 kB / 477 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3515, allocations: 4 kB / 477 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3517, allocations: 113.8 kB / 477.1 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.3517, allocations: 19.88 kB / 477.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3517, allocations: 0 / 477.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3518, allocations: 4 kB / 477.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3519, allocations: 7.984 kB / 477.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3519, allocations: 0 / 477.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.038e-05/0.3519, allocations: 115.2 kB / 477.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3519, allocations: 0 / 477.2 MB, free: 9.422 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002589/0.3545, allocations: 0.9547 MB / 478.2 MB, free: 8.465 MB / 382.1 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.004217/0.3588, allocations: 1.34 MB / 479.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.359, allocations: 51.91 kB / 479.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.359, allocations: 0 / 479.6 MB, free: 7.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.177e-05/0.3591, allocations: 19.98 kB / 479.6 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3593, allocations: 19.92 kB / 479.6 MB, free: 7.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.3598, allocations: 218.5 kB / 479.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.3599, allocations: 71.33 kB / 479.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.3599, allocations: 15.44 kB / 479.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3599, allocations: 0 / 479.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of Templates: time 0.02997/0.3899, allocations: 18.39 MB / 498.3 MB, free: 4.242 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 11.213535234797746]