Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 66.59 kB / 306.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09541/0.09661, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002585/0.09923, allocations: 1.425 MB / 358.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1122, allocations: 12.4 MB / 371.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.1122, allocations: 4 kB / 371.3 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.1123, allocations: 3.938 kB / 371.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1623/0.2746, allocations: 0.8494 MB / 372.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.2762, allocations: 0.5305 MB / 372.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.2763, allocations: 65.17 kB / 372.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.2764, allocations: 2.672 kB / 372.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.2764, allocations: 25.25 kB / 372.7 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.2765, allocations: 37.09 kB / 372.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2765, allocations: 6.016 kB / 372.8 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.2799, allocations: 1.563 MB / 374.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.2799, allocations: 10.03 kB / 374.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.28, allocations: 29.39 kB / 374.4 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2814, allocations: 0.7255 MB / 375.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2814, allocations: 1.375 kB / 375.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2814, allocations: 0 / 375.1 MB, free: 9.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2814, allocations: 2.844 kB / 375.1 MB, free: 9.457 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.0007656/0.2822, allocations: 0.5483 MB / 375.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2822, allocations: 9.562 kB / 375.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.2824, allocations: 9.688 kB / 375.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.2825, allocations: 184.3 kB / 375.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2825, allocations: 3.781 kB / 375.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2825, allocations: 1.656 kB / 375.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2827, allocations: 71.92 kB / 375.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2827, allocations: 0.7188 kB / 375.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2827, allocations: 5.219 kB / 375.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2827, allocations: 0 / 375.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2828, allocations: 25.45 kB / 376 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.283, allocations: 177.2 kB / 376.1 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.2832, allocations: 77.28 kB / 376.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.2833, allocations: 28.16 kB / 376.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006307/0.2896, allocations: 3.286 MB / 379.5 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.2897, allocations: 44.41 kB / 379.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.2897, allocations: 1.641 kB / 379.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003222/0.29, allocations: 82.2 kB / 379.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.2901, allocations: 83.22 kB / 379.7 MB, free: 6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.2901, allocations: 116 kB / 379.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.2902, allocations: 26.98 kB / 379.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.2902, allocations: 85.7 kB / 380 MB, free: 5.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.2902, allocations: 13.58 kB / 380 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.2903, allocations: 20.41 kB / 380 MB, free: 5.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.174e-05/0.2903, allocations: 315.8 kB / 380.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.2904, allocations: 17.42 kB / 380.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.2905, allocations: 26.06 kB / 380.3 MB, free: 5.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.2906, allocations: 37.39 kB / 380.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2906, allocations: 7.125 kB / 380.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001567/0.2907, allocations: 71.75 kB / 380.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2908, allocations: 9.938 kB / 380.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2908, allocations: 3.047 kB / 380.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2908, allocations: 5.438 kB / 380.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.2909, allocations: 10.75 kB / 380.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2909, allocations: 2.672 kB / 380.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.2909, allocations: 5.344 kB / 380.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.291, allocations: 2.156 kB / 380.5 MB, free: 5.375 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.287e-05/0.291, allocations: 117.5 kB / 380.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.291, allocations: 11.31 kB / 380.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.2913, allocations: 108.6 kB / 380.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2913, allocations: 1.922 kB / 380.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2913, allocations: 0.875 kB / 380.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2913, allocations: 1.703 kB / 380.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.471e-05/0.2914, allocations: 169.3 kB / 380.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2914, allocations: 1.062 kB / 380.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.2915, allocations: 13.81 kB / 380.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2915, allocations: 10.16 kB / 380.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2915, allocations: 4.391 kB / 380.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2915, allocations: 1.25 kB / 380.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2915, allocations: 0 / 380.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.2917, allocations: 99.3 kB / 381 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.2918, allocations: 92.31 kB / 381.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2918, allocations: 2.906 kB / 381.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.2919, allocations: 8.062 kB / 381.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.2919, allocations: 9.969 kB / 381.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.2919, allocations: 2.25 kB / 381.1 MB, free: 4.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.522e-05/0.292, allocations: 91.28 kB / 381.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.292, allocations: 0 / 381.2 MB, free: 4.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00108/0.2931, allocations: 327.1 kB / 381.5 MB, free: 4.699 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.001258/0.2943, allocations: 0.5753 MB / 382.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.2945, allocations: 39.81 kB / 382.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2946, allocations: 0 / 382.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.2946, allocations: 23.12 kB / 382.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.2948, allocations: 14.38 kB / 382.2 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.2953, allocations: 204.4 kB / 382.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.556e-05/0.2954, allocations: 0.6896 MB / 383.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.2954, allocations: 27.36 kB / 383.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2954, allocations: 0 / 383.1 MB, free: 3.641 MB / 302.1 MB Notification: Performance of Templates: time 0.009316/0.3048, allocations: 5.94 MB / 389 MB, free: 2.199 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches