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.0009974/0.0009975, allocations: 97.03 kB / 17.31 MB, free: 6.391 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.001047/0.001047, allocations: 175.5 kB / 18.21 MB, free: 5.551 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: 223.3 MB / 242.3 MB, free: 256 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 12.12 kB / 302.1 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08639, allocations: 50.42 MB / 352.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001383/0.08781, allocations: 1.075 MB / 353.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.1009, allocations: 12.16 MB / 365.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.101, allocations: 0 / 365.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.101, allocations: 0 / 365.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.1043, allocations: 0.8559 MB / 366.6 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1061, allocations: 0.5444 MB / 367.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.1063, allocations: 59.66 kB / 367.2 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1063, allocations: 4 kB / 367.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.1064, allocations: 27.91 kB / 367.2 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.1064, allocations: 27.92 kB / 367.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.1065, allocations: 7.984 kB / 367.3 MB, free: 4.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.1097, allocations: 1.561 MB / 368.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.1097, allocations: 19.97 kB / 368.8 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1098, allocations: 45.58 kB / 368.9 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.1112, allocations: 0.7289 MB / 369.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1112, allocations: 0 / 369.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1113, allocations: 0 / 369.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1113, allocations: 0 / 369.6 MB, free: 2.535 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.000801/0.1121, allocations: 0.534 MB / 370.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1121, allocations: 12.03 kB / 370.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.1123, allocations: 8.922 kB / 370.2 MB, free: 1.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1124, allocations: 184.2 kB / 370.3 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1124, allocations: 4.375 kB / 370.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.1125, allocations: 4.312 kB / 370.4 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1126, allocations: 71.52 kB / 370.4 MB, free: 1.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.1127, allocations: 3.984 kB / 370.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1127, allocations: 0 / 370.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1127, allocations: 0 / 370.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1128, allocations: 15.98 kB / 370.4 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.113, allocations: 182.5 kB / 370.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002681/0.1133, allocations: 73.19 kB / 370.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.1133, allocations: 29.77 kB / 370.7 MB, free: 1.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1715/0.2848, allocations: 3.279 MB / 374 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.2849, allocations: 42.36 kB / 374 MB, free: 23.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.2849, allocations: 0 / 374 MB, free: 23.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003383/0.2852, allocations: 81.53 kB / 374.1 MB, free: 23.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2853, allocations: 78.98 kB / 374.2 MB, free: 23.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.532e-05/0.2854, allocations: 114 kB / 374.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2854, allocations: 29.05 kB / 374.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.2854, allocations: 89.19 kB / 374.4 MB, free: 23.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.2855, allocations: 24.12 kB / 374.4 MB, free: 23.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.2855, allocations: 15.48 kB / 374.5 MB, free: 23.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.2856, allocations: 316.1 kB / 374.8 MB, free: 23.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.2856, allocations: 13.55 kB / 374.8 MB, free: 23.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.2857, allocations: 24.14 kB / 374.8 MB, free: 23.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.2858, allocations: 41.55 kB / 374.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2858, allocations: 1.031 kB / 374.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001755/0.286, allocations: 68.94 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.286, allocations: 4.781 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.286, allocations: 3.438 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.286, allocations: 3.469 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.2861, allocations: 12.89 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2861, allocations: 1.531 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.2862, allocations: 9.922 kB / 375 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.2862, allocations: 7.438 kB / 375 MB, free: 23.12 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.418e-05/0.2863, allocations: 119.9 kB / 375.1 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.2863, allocations: 3.875 kB / 375.1 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.2865, allocations: 101.5 kB / 375.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2866, allocations: 5.188 kB / 375.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2866, allocations: 1.156 kB / 375.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2866, allocations: 0.6562 kB / 375.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.2867, allocations: 174.2 kB / 375.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2867, allocations: 1.703 kB / 375.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.2868, allocations: 12.11 kB / 375.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.2868, allocations: 4.938 kB / 375.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.2868, allocations: 2.438 kB / 375.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2868, allocations: 0.9688 kB / 375.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2868, allocations: 4.406 kB / 375.4 MB, free: 22.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.287, allocations: 101.5 kB / 375.5 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.287, allocations: 93.7 kB / 375.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.2871, allocations: 3.969 kB / 375.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.2871, allocations: 7.297 kB / 375.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.2872, allocations: 5.875 kB / 375.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2872, allocations: 3.391 kB / 375.6 MB, free: 22.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.327e-05/0.2872, allocations: 95.61 kB / 375.7 MB, free: 22.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2872, allocations: 0 / 375.7 MB, free: 22.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008709/0.2881, allocations: 328.1 kB / 376 MB, free: 22.5 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.001288/0.2894, allocations: 0.5754 MB / 376.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.2896, allocations: 31.89 kB / 376.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2896, allocations: 0 / 376.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.093e-05/0.2897, allocations: 28.3 kB / 376.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2899, allocations: 17.89 kB / 376.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.2903, allocations: 209.9 kB / 376.9 MB, free: 22.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2904, allocations: 0.6922 MB / 377.6 MB, free: 21.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.2905, allocations: 23.48 kB / 377.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2905, allocations: 0 / 377.6 MB, free: 21.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01102/0.3015, allocations: 5.943 MB / 383.5 MB, free: 20.11 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/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