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.001083/0.001083, allocations: 112.8 kB / 17.06 MB, free: 5.973 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.001/0.001, allocations: 196 kB / 18 MB, free: 5.051 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 39.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2501, allocations: 49.43 MB / 400.7 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002107/0.2522, allocations: 1.353 MB / 402.1 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.2641, allocations: 12.08 MB / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.2642, allocations: 0 / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.963e-05/0.2642, allocations: 3.938 kB / 414.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.2669, allocations: 1.041 MB / 415.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.2683, allocations: 0.6255 MB / 415.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2684, allocations: 71.64 kB / 415.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.2684, allocations: 3.938 kB / 415.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.2685, allocations: 27.92 kB / 415.9 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.2685, allocations: 31.89 kB / 416 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.2686, allocations: 8 kB / 416 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.2711, allocations: 1.619 MB / 417.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.2711, allocations: 7.984 kB / 417.6 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.2711, allocations: 23.88 kB / 417.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.2727, allocations: 1.076 MB / 418.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2727, allocations: 0 / 418.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2727, allocations: 0 / 418.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2727, allocations: 0 / 418.7 MB, free: 6.816 MB / 334.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.0006662/0.2734, allocations: 0.556 MB / 419.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2734, allocations: 12.03 kB / 419.3 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2736, allocations: 12.92 kB / 419.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.2737, allocations: 172.3 kB / 419.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.2738, allocations: 4.375 kB / 419.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2738, allocations: 4.359 kB / 419.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.2739, allocations: 67.52 kB / 419.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.274, allocations: 3.938 kB / 419.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.274, allocations: 4 kB / 419.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.274, allocations: 4 kB / 419.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2741, allocations: 19.98 kB / 419.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.2743, allocations: 178.6 kB / 419.7 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.2746, allocations: 77.12 kB / 419.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.2747, allocations: 33.77 kB / 419.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006223/0.2809, allocations: 3.301 MB / 423.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.281, allocations: 42.48 kB / 423.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.281, allocations: 0 / 423.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000306/0.2813, allocations: 81.89 kB / 423.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2813, allocations: 85.11 kB / 423.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.2814, allocations: 109.8 kB / 423.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2815, allocations: 25.7 kB / 423.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.2815, allocations: 92.12 kB / 423.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2816, allocations: 19.86 kB / 423.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.2816, allocations: 17.72 kB / 423.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2817, allocations: 322.8 kB / 423.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.365e-05/0.2818, allocations: 8 kB / 423.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.09e-05/0.2819, allocations: 25.7 kB / 423.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.282, allocations: 45.73 kB / 424 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.282, allocations: 0 / 424 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001884/0.2822, allocations: 73.55 kB / 424.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2822, allocations: 4 kB / 424.1 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2822, allocations: 3.938 kB / 424.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2822, allocations: 4 kB / 424.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.2823, allocations: 11.98 kB / 424.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2823, allocations: 0 / 424.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.2824, allocations: 11.89 kB / 424.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2824, allocations: 4 kB / 424.1 MB, free: 0.7031 MB / 334.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 7.609e-05/0.2825, allocations: 117.8 kB / 424.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.2825, allocations: 7.938 kB / 424.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.2828, allocations: 101.8 kB / 424.3 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2828, allocations: 8 kB / 424.3 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2828, allocations: 0 / 424.3 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2828, allocations: 3.984 kB / 424.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.2829, allocations: 165.6 kB / 424.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2829, allocations: 0 / 424.5 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.283, allocations: 15.94 kB / 424.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.283, allocations: 0 / 424.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.283, allocations: 0 / 424.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.283, allocations: 0 / 424.5 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.283, allocations: 11.88 kB / 424.5 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.2832, allocations: 98.09 kB / 424.6 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.2833, allocations: 97.05 kB / 424.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2833, allocations: 4 kB / 424.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.2834, allocations: 7.984 kB / 424.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.2835, allocations: 4 kB / 424.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2835, allocations: 4 kB / 424.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.577e-05/0.2835, allocations: 103.2 kB / 424.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2835, allocations: 0 / 424.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007035/0.2842, allocations: 322.8 kB / 425.1 MB, free: 15.55 MB / 350.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.001072/0.2853, allocations: 0.5836 MB / 425.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.2855, allocations: 31.98 kB / 425.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2855, allocations: 4 kB / 425.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.2856, allocations: 24.2 kB / 425.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.2858, allocations: 15.88 kB / 425.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.2862, allocations: 152 kB / 425.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2865, allocations: 0.6846 MB / 426.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.2866, allocations: 52.17 kB / 426.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2867, allocations: 27.42 kB / 426.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2867, allocations: 0 / 426.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of Templates: time 0.01268/0.2993, allocations: 8.988 MB / 435.7 MB, free: 4.922 MB / 350.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