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.001156/0.001156, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.73 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08843, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002273/0.09074, allocations: 1.365 MB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1608/0.2516, allocations: 12.1 MB / 372.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.2517, allocations: 3.594 kB / 372.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2517, allocations: 2.547 kB / 372.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.2548, allocations: 1.045 MB / 373.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.2567, allocations: 0.6336 MB / 374 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.2569, allocations: 61.02 kB / 374.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.257, allocations: 4.25 kB / 374.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.257, allocations: 28.17 kB / 374.1 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.2571, allocations: 36.94 kB / 374.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2572, allocations: 6.75 kB / 374.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.2607, allocations: 1.608 MB / 375.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.252e-05/0.2607, allocations: 13.41 kB / 375.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.2608, allocations: 25.19 kB / 375.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.2633, allocations: 1.07 MB / 376.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2633, allocations: 0 / 376.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2633, allocations: 1.062 kB / 376.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2633, allocations: 0 / 376.9 MB, free: 9.676 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.0009136/0.2642, allocations: 0.5432 MB / 377.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2643, allocations: 9.438 kB / 377.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2644, allocations: 8.875 kB / 377.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2645, allocations: 180 kB / 377.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2646, allocations: 3.328 kB / 377.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.2646, allocations: 3.031 kB / 377.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2647, allocations: 71.27 kB / 377.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2648, allocations: 1.25 kB / 377.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2648, allocations: 3.688 kB / 377.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2648, allocations: 0 / 377.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.2649, allocations: 25.72 kB / 377.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.265, allocations: 176.3 kB / 377.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.2653, allocations: 80.33 kB / 378 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.2654, allocations: 26.34 kB / 378 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00621/0.2716, allocations: 3.303 MB / 381.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2716, allocations: 39.91 kB / 381.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2716, allocations: 0 / 381.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.000295/0.2719, allocations: 90.17 kB / 381.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.272, allocations: 79.17 kB / 381.5 MB, free: 6.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.2721, allocations: 114.9 kB / 381.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.2721, allocations: 31.19 kB / 381.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.172e-05/0.2721, allocations: 85.5 kB / 381.7 MB, free: 5.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.2722, allocations: 15.75 kB / 381.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.2722, allocations: 19.58 kB / 381.8 MB, free: 5.965 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.2723, allocations: 313.3 kB / 382.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.2723, allocations: 13.27 kB / 382.1 MB, free: 5.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-05/0.2724, allocations: 25.19 kB / 382.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.2725, allocations: 41.61 kB / 382.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2725, allocations: 0 / 382.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000158/0.2727, allocations: 71.3 kB / 382.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2727, allocations: 9.328 kB / 382.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2727, allocations: 2.891 kB / 382.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2727, allocations: 1.25 kB / 382.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.2728, allocations: 11.61 kB / 382.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2728, allocations: 4 kB / 382.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.2729, allocations: 6.891 kB / 382.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2729, allocations: 8.984 kB / 382.3 MB, free: 5.57 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.162e-05/0.2729, allocations: 112.8 kB / 382.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.273, allocations: 11.94 kB / 382.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.2732, allocations: 112.7 kB / 382.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2732, allocations: 1.969 kB / 382.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2732, allocations: 0 / 382.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2732, allocations: 1.516 kB / 382.5 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.2733, allocations: 169.4 kB / 382.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2733, allocations: 0.5156 kB / 382.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6e-05/0.2734, allocations: 11.69 kB / 382.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2734, allocations: 9.25 kB / 382.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.2734, allocations: 1.766 kB / 382.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2734, allocations: 9.594 kB / 382.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2734, allocations: 0 / 382.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.2736, allocations: 100.4 kB / 382.8 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2737, allocations: 88.64 kB / 382.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2737, allocations: 1.906 kB / 382.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.2738, allocations: 3.375 kB / 382.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.2738, allocations: 15.44 kB / 382.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2738, allocations: 3.859 kB / 382.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.937e-05/0.2739, allocations: 96.58 kB / 383 MB, free: 4.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2739, allocations: 0 / 383 MB, free: 4.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008739/0.2748, allocations: 318.6 kB / 383.3 MB, free: 4.898 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.001131/0.2759, allocations: 0.579 MB / 383.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.2761, allocations: 35.97 kB / 383.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2761, allocations: 0 / 383.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.2762, allocations: 23.23 kB / 384 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.2764, allocations: 10.27 kB / 384 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.2767, allocations: 169.3 kB / 384.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.2768, allocations: 0.6851 MB / 384.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.2769, allocations: 52.66 kB / 384.9 MB, free: 3.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.277, allocations: 22.91 kB / 384.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.277, allocations: 0 / 384.9 MB, free: 3.883 MB / 302.1 MB Notification: Performance of Templates: time 0.01246/0.2895, allocations: 8.989 MB / 393.9 MB, free: 460 kB / 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 -s cvode -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