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.001597/0.001598, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001691/0.001691, allocations: 192 kB / 18.63 MB, free: 4.375 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.309/1.309, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 47.11 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07975/0.08086, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002308/0.0832, allocations: 1.354 MB / 352.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.09555, allocations: 12.08 MB / 364.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.09563, allocations: 0 / 364.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.09566, allocations: 3.984 kB / 364.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.09847, allocations: 1.04 MB / 366 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.09995, allocations: 0.6373 MB / 366.6 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1001, allocations: 63.7 kB / 366.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.1001, allocations: 7.938 kB / 366.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.1002, allocations: 27.91 kB / 366.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.653e-05/0.1003, allocations: 31.92 kB / 366.7 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1003, allocations: 4 kB / 366.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.1031, allocations: 1.615 MB / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1031, allocations: 7.938 kB / 368.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.1032, allocations: 31.91 kB / 368.4 MB, free: 2.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.1052, allocations: 1.064 MB / 369.5 MB, free: 1.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1053, allocations: 0 / 369.5 MB, free: 1.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1053, allocations: 0 / 369.5 MB, free: 1.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1053, allocations: 0 / 369.5 MB, free: 1.641 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.0007386/0.106, allocations: 0.538 MB / 370 MB, free: 1.055 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1061, allocations: 8.031 kB / 370 MB, free: 1.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.1062, allocations: 16.92 kB / 370 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.1063, allocations: 180.2 kB / 370.2 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1064, allocations: 12.31 kB / 370.2 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1064, allocations: 4.375 kB / 370.2 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1065, allocations: 63.52 kB / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1066, allocations: 0 / 370.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1066, allocations: 4 kB / 370.3 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1066, allocations: 7.984 kB / 370.3 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1067, allocations: 19.92 kB / 370.3 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1069, allocations: 182.5 kB / 370.5 MB, free: 476 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1072, allocations: 77.19 kB / 370.6 MB, free: 380 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.164e-05/0.1072, allocations: 21.78 kB / 370.6 MB, free: 352 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1497/0.257, allocations: 3.289 MB / 373.9 MB, free: 25.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.257, allocations: 42.94 kB / 373.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.257, allocations: 0 / 373.9 MB, free: 25.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003565/0.2574, allocations: 81.2 kB / 374 MB, free: 24.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.2574, allocations: 78.89 kB / 374.1 MB, free: 24.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.2575, allocations: 117.6 kB / 374.2 MB, free: 24.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2576, allocations: 25.7 kB / 374.2 MB, free: 24.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.92e-05/0.2576, allocations: 87.12 kB / 374.3 MB, free: 24.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.2576, allocations: 20.83 kB / 374.3 MB, free: 24.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.2577, allocations: 22.7 kB / 374.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.2577, allocations: 318.2 kB / 374.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.2578, allocations: 7.812 kB / 374.7 MB, free: 24.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.2578, allocations: 32.12 kB / 374.7 MB, free: 24.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.258, allocations: 38.27 kB / 374.7 MB, free: 24.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.258, allocations: 0 / 374.7 MB, free: 24.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001599/0.2581, allocations: 73.97 kB / 374.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2581, allocations: 4.781 kB / 374.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2582, allocations: 1.656 kB / 374.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2582, allocations: 1.031 kB / 374.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.2583, allocations: 11.64 kB / 374.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2583, allocations: 1.766 kB / 374.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.2583, allocations: 7.203 kB / 374.8 MB, free: 24.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.2583, allocations: 6.438 kB / 374.8 MB, free: 24.24 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 6.172e-05/0.2584, allocations: 126.1 kB / 375 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.2584, allocations: 11.27 kB / 375 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.2587, allocations: 102.4 kB / 375.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.2587, allocations: 5.094 kB / 375.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2587, allocations: 1.562 kB / 375.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2587, allocations: 0.7031 kB / 375.1 MB, free: 24.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.798e-05/0.2588, allocations: 174.6 kB / 375.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2588, allocations: 2.125 kB / 375.2 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.2589, allocations: 10.72 kB / 375.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2589, allocations: 0.875 kB / 375.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2589, allocations: 2.609 kB / 375.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.259, allocations: 0.5625 kB / 375.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.259, allocations: 5.219 kB / 375.3 MB, free: 23.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.2591, allocations: 106.8 kB / 375.4 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.2592, allocations: 87.92 kB / 375.5 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2592, allocations: 1.812 kB / 375.5 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.2593, allocations: 7.953 kB / 375.5 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.2593, allocations: 6.5 kB / 375.5 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2594, allocations: 2.234 kB / 375.5 MB, free: 23.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.138e-05/0.2594, allocations: 95.39 kB / 375.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2594, allocations: 0 / 375.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008642/0.2603, allocations: 328 kB / 375.9 MB, free: 23.53 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.001202/0.2615, allocations: 0.5711 MB / 376.5 MB, free: 23.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.2617, allocations: 40.42 kB / 376.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2617, allocations: 0 / 376.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.2618, allocations: 21.16 kB / 376.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.262, allocations: 19.73 kB / 376.5 MB, free: 23.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.2624, allocations: 171.4 kB / 376.7 MB, free: 23.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2625, allocations: 0.6861 MB / 377.4 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.2626, allocations: 46.03 kB / 377.4 MB, free: 22.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.2627, allocations: 22.55 kB / 377.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2627, allocations: 0 / 377.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01452/0.2772, allocations: 8.984 MB / 386.4 MB, free: 19.54 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 -s cvode -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/jenkins1/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/jenkins1/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