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.001023/0.001023, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2459, allocations: 50.54 MB / 409.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002088/0.2481, allocations: 1.37 MB / 410.6 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.26, allocations: 12.11 MB / 422.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.2601, allocations: 4 kB / 422.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.2602, allocations: 0 / 422.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.2631, allocations: 1.053 MB / 423.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2645, allocations: 0.6256 MB / 424.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.87e-05/0.2646, allocations: 63.7 kB / 424.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.2646, allocations: 4 kB / 424.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.752e-05/0.2647, allocations: 27.86 kB / 424.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.578e-05/0.2648, allocations: 43.89 kB / 424.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2648, allocations: 0 / 424.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.2674, allocations: 1.615 MB / 426.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2674, allocations: 7.922 kB / 426.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.2675, allocations: 23.88 kB / 426.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.2692, allocations: 1.08 MB / 427.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2692, allocations: 0 / 427.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2693, allocations: 0 / 427.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2693, allocations: 0 / 427.2 MB, free: 15.53 MB / 350.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.0007905/0.2701, allocations: 0.556 MB / 427.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2701, allocations: 8.031 kB / 427.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.2703, allocations: 12.88 kB / 427.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2704, allocations: 172.4 kB / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2704, allocations: 4.359 kB / 428 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.2705, allocations: 4.375 kB / 428 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.2706, allocations: 71.45 kB / 428.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2706, allocations: 0 / 428.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2706, allocations: 4 kB / 428.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2707, allocations: 8 kB / 428.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.2708, allocations: 19.98 kB / 428.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2709, allocations: 174.6 kB / 428.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.2712, allocations: 85.12 kB / 428.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.2713, allocations: 21.77 kB / 428.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005996/0.2773, allocations: 3.313 MB / 431.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.2773, allocations: 42.42 kB / 431.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.2774, allocations: 0 / 431.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002897/0.2776, allocations: 73.67 kB / 431.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.2777, allocations: 81.05 kB / 431.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.2778, allocations: 117.8 kB / 432 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.2778, allocations: 29.7 kB / 432 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.2779, allocations: 88.12 kB / 432.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.2779, allocations: 19.86 kB / 432.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.278, allocations: 13.72 kB / 432.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.2781, allocations: 318.8 kB / 432.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.2781, allocations: 8 kB / 432.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.2782, allocations: 25.7 kB / 432.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.2783, allocations: 41.7 kB / 432.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2783, allocations: 3.938 kB / 432.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001676/0.2785, allocations: 81.5 kB / 432.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2785, allocations: 4 kB / 432.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2785, allocations: 0 / 432.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2785, allocations: 0 / 432.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.2786, allocations: 15.98 kB / 432.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2786, allocations: 3.938 kB / 432.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.061e-05/0.2787, allocations: 7.938 kB / 432.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2787, allocations: 4 kB / 432.7 MB, free: 9.422 MB / 350.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.623e-05/0.2788, allocations: 113.8 kB / 432.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.2788, allocations: 11.89 kB / 432.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.279, allocations: 110.2 kB / 432.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2791, allocations: 0 / 432.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2791, allocations: 0 / 432.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2791, allocations: 8.078 kB / 432.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2792, allocations: 169.6 kB / 433.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2792, allocations: 0 / 433.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.2793, allocations: 19.81 kB / 433.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2793, allocations: 4 kB / 433.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2793, allocations: 0 / 433.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2793, allocations: 0 / 433.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2793, allocations: 0 / 433.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.2795, allocations: 110 kB / 433.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.2796, allocations: 89.03 kB / 433.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2796, allocations: 4 kB / 433.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.2797, allocations: 7.984 kB / 433.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.2797, allocations: 0 / 433.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2797, allocations: 4 kB / 433.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.266e-05/0.2798, allocations: 103.2 kB / 433.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2798, allocations: 0 / 433.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006983/0.2805, allocations: 326.8 kB / 433.7 MB, free: 8.262 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.001038/0.2815, allocations: 0.5719 MB / 434.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.2817, allocations: 35.98 kB / 434.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2817, allocations: 0 / 434.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.2818, allocations: 23.92 kB / 434.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.282, allocations: 11.94 kB / 434.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.2824, allocations: 175.8 kB / 434.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2826, allocations: 0.6846 MB / 435.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.2827, allocations: 48.16 kB / 435.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.2828, allocations: 27.3 kB / 435.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2828, allocations: 3.938 kB / 435.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.01192/0.2947, allocations: 8.974 MB / 444.3 MB, free: 13.63 MB / 366.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/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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches