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.000868/0.0008681, allocations: 93.2 kB / 16.3 MB, free: 6.133 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.0008517/0.0008518, allocations: 179 kB / 17.2 MB, free: 6.016 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.234/1.234, allocations: 223.2 MB / 241.1 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 11.94 kB / 300.7 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09063, allocations: 50.41 MB / 351.1 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0012/0.09186, allocations: 1.044 MB / 352.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009644/0.1015, allocations: 10.12 MB / 362.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.1016, allocations: 0 / 362.3 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1016, allocations: 7.938 kB / 362.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.104, allocations: 0.8412 MB / 363.1 MB, free: 7.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1053, allocations: 0.4984 MB / 363.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.1054, allocations: 47.92 kB / 363.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.1054, allocations: 7.938 kB / 363.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.1054, allocations: 27.91 kB / 363.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.1055, allocations: 23.92 kB / 363.7 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1055, allocations: 4 kB / 363.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.108, allocations: 1.506 MB / 365.3 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.1081, allocations: 7.984 kB / 365.3 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1081, allocations: 37.64 kB / 365.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009651/0.1091, allocations: 0.6669 MB / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1091, allocations: 0 / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1091, allocations: 0 / 366 MB, free: 5.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1091, allocations: 0 / 366 MB, free: 5.16 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.0005633/0.1097, allocations: 0.5416 MB / 366.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1097, allocations: 8.031 kB / 366.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1098, allocations: 11.98 kB / 366.5 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1099, allocations: 175.1 kB / 366.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.11, allocations: 0 / 366.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.11, allocations: 8 kB / 366.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1101, allocations: 67.33 kB / 366.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.1101, allocations: 0 / 366.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1102, allocations: 3.953 kB / 366.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1102, allocations: 0 / 366.8 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.1103, allocations: 23.98 kB / 366.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.1105, allocations: 174.5 kB / 367 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.1107, allocations: 81.22 kB / 367 MB, free: 3.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005871/0.1166, allocations: 3.27 MB / 370.3 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1166, allocations: 34.55 kB / 370.4 MB, free: 152 kB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 3.436e-06/0.1166, allocations: 0 / 370.4 MB, free: 152 kB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002812/0.1169, allocations: 85.53 kB / 370.4 MB, free: 60 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1437/0.2606, allocations: 82.56 kB / 370.5 MB, free: 25.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2608, allocations: 109.7 kB / 370.6 MB, free: 25.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2608, allocations: 28.62 kB / 370.7 MB, free: 25.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.2608, allocations: 85.56 kB / 370.7 MB, free: 25.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.2609, allocations: 22.5 kB / 370.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.2609, allocations: 1.312 kB / 370.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.2609, allocations: 316.6 kB / 371.1 MB, free: 25.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.261, allocations: 11.88 kB / 371.1 MB, free: 25.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.261, allocations: 26.12 kB / 371.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.2611, allocations: 13.44 kB / 371.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2611, allocations: 0 / 371.1 MB, free: 25.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001762/0.2613, allocations: 75.09 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2613, allocations: 4.906 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2613, allocations: 4.047 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.2614, allocations: 1.188 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.2614, allocations: 10.78 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2615, allocations: 5.203 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.377e-05/0.2615, allocations: 3.297 kB / 371.2 MB, free: 25.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2615, allocations: 7.125 kB / 371.2 MB, free: 25.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.2616, allocations: 114.2 kB / 371.3 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.2616, allocations: 3.5 kB / 371.3 MB, free: 25.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.2619, allocations: 110.7 kB / 371.5 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.2619, allocations: 3.531 kB / 371.5 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2619, allocations: 0.7812 kB / 371.5 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2619, allocations: 5 kB / 371.5 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.262, allocations: 168.1 kB / 371.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.262, allocations: 0 / 371.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.2621, allocations: 15.47 kB / 371.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2621, allocations: 0 / 371.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2621, allocations: 2.281 kB / 371.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2621, allocations: 2.062 kB / 371.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.2621, allocations: 7.25 kB / 371.7 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2623, allocations: 114.1 kB / 371.8 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.2623, allocations: 93.86 kB / 371.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.2624, allocations: 6.453 kB / 371.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.2624, allocations: 9.297 kB / 371.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2625, allocations: 11.25 kB / 371.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.2625, allocations: 4.531 kB / 371.9 MB, free: 24.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.907e-05/0.2626, allocations: 91.98 kB / 372 MB, free: 24.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2626, allocations: 0 / 372 MB, free: 24.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.2635, allocations: 321.3 kB / 372.3 MB, free: 24.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.2646, allocations: 0.5687 MB / 372.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.2647, allocations: 36.17 kB / 372.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2647, allocations: 0 / 372.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.2648, allocations: 21.11 kB / 372.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.265, allocations: 6.781 kB / 372.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.2653, allocations: 192.2 kB / 373.1 MB, free: 24.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.542e-05/0.2654, allocations: 0.6873 MB / 373.8 MB, free: 23.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.2655, allocations: 50.2 kB / 373.8 MB, free: 23.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.2656, allocations: 20.34 kB / 373.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2656, allocations: 0 / 373.9 MB, free: 23.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01246/0.278, allocations: 8.772 MB / 382.6 MB, free: 21.36 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","../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