Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 106.7 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009899/0.00099, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009756/0.0009761, allocations: 50.08 kB / 300.1 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08029/0.08128, allocations: 49.44 MB / 349.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002438/0.08375, allocations: 1.41 MB / 351 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.0961, allocations: 12.01 MB / 363 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.09618, allocations: 4 kB / 363 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.09622, allocations: 3.938 kB / 363 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.099, allocations: 0.9183 MB / 363.9 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1005, allocations: 0.5566 MB / 364.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.1006, allocations: 67.72 kB / 364.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.151e-05/0.1006, allocations: 0 / 364.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.063e-05/0.1007, allocations: 35.84 kB / 364.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.1008, allocations: 31.89 kB / 364.6 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1008, allocations: 4 kB / 364.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.1035, allocations: 1.584 MB / 366.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.1036, allocations: 11.92 kB / 366.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.1036, allocations: 31.84 kB / 366.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.1055, allocations: 1.068 MB / 367.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1056, allocations: 3.984 kB / 367.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1056, allocations: 4 kB / 367.3 MB, free: 2.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.1056, allocations: 0 / 367.3 MB, free: 2.938 MB / 302.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.0007905/0.1064, allocations: 0.5457 MB / 367.9 MB, free: 2.344 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1064, allocations: 8.031 kB / 367.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1065, allocations: 8.938 kB / 367.9 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.1067, allocations: 188.2 kB / 368.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1067, allocations: 384 / 368.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1067, allocations: 4.375 kB / 368.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1069, allocations: 71.52 kB / 368.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1069, allocations: 0 / 368.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1069, allocations: 0 / 368.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1069, allocations: 0 / 368.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1071, allocations: 31.91 kB / 368.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1072, allocations: 170.6 kB / 368.3 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.1076, allocations: 85.12 kB / 368.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.1076, allocations: 21.77 kB / 368.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1405/0.2481, allocations: 3.292 MB / 371.7 MB, free: 24.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.2482, allocations: 39.8 kB / 371.8 MB, free: 24.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.2482, allocations: 2.344 kB / 371.8 MB, free: 24.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003267/0.2485, allocations: 81.7 kB / 371.8 MB, free: 24.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.2485, allocations: 78.8 kB / 371.9 MB, free: 24.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.2486, allocations: 119.8 kB / 372 MB, free: 24.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.2486, allocations: 37.52 kB / 372.1 MB, free: 24.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.802e-05/0.2487, allocations: 83.56 kB / 372.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.2487, allocations: 23.81 kB / 372.2 MB, free: 24.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.2487, allocations: 21.31 kB / 372.2 MB, free: 24.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.66e-05/0.2488, allocations: 316.3 kB / 372.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.2488, allocations: 8.266 kB / 372.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.2489, allocations: 28 kB / 372.5 MB, free: 24.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.249, allocations: 41.53 kB / 372.6 MB, free: 24.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.249, allocations: 0 / 372.6 MB, free: 24.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001557/0.2492, allocations: 71.09 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2492, allocations: 4.75 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.2492, allocations: 0.6875 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.2492, allocations: 1.828 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.2493, allocations: 13.83 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2493, allocations: 0 / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.2494, allocations: 9.875 kB / 372.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2494, allocations: 1.844 kB / 372.7 MB, free: 24.16 MB / 302.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 5.417e-05/0.2494, allocations: 118.3 kB / 372.8 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.2495, allocations: 8.094 kB / 372.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.2497, allocations: 102.2 kB / 372.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2497, allocations: 1.469 kB / 372.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2497, allocations: 1.031 kB / 372.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2498, allocations: 0.8125 kB / 372.9 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.564e-05/0.2498, allocations: 174.1 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2499, allocations: 1.781 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.2499, allocations: 10.83 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2499, allocations: 0.9688 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2499, allocations: 5.438 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2499, allocations: 4.984 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.25, allocations: 1.797 kB / 373.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2501, allocations: 112.3 kB / 373.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.2502, allocations: 86.84 kB / 373.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.2502, allocations: 2.016 kB / 373.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.666e-05/0.2503, allocations: 6.688 kB / 373.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2503, allocations: 9.953 kB / 373.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2503, allocations: 5.734 kB / 373.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.2504, allocations: 94.67 kB / 373.4 MB, free: 23.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2504, allocations: 0 / 373.4 MB, free: 23.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000726/0.2511, allocations: 317.5 kB / 373.7 MB, free: 23.54 MB / 302.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.001077/0.2522, allocations: 0.5874 MB / 374.3 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.2524, allocations: 38.92 kB / 374.4 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2524, allocations: 0 / 374.4 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.2525, allocations: 19.97 kB / 374.4 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.2526, allocations: 18.14 kB / 374.4 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.253, allocations: 184.7 kB / 374.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.2531, allocations: 0.6821 MB / 375.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.2532, allocations: 49.94 kB / 375.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.2533, allocations: 20.86 kB / 375.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2533, allocations: 0 / 375.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01191/0.2652, allocations: 8.941 MB / 384.3 MB, free: 19.84 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches