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.001223/0.001223, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001354, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.263/2.263, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 60.09 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.424, allocations: 50.55 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00375/0.4278, allocations: 1.359 MB / 411.3 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0223/0.4502, allocations: 12.1 MB / 423.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.4503, allocations: 0 / 423.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.903e-05/0.4504, allocations: 3.938 kB / 423.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.4564, allocations: 1.054 MB / 424.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003237/0.4596, allocations: 0.6217 MB / 425.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.4598, allocations: 67.66 kB / 425.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.4599, allocations: 7.984 kB / 425.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.857e-05/0.46, allocations: 27.92 kB / 425.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.4602, allocations: 39.89 kB / 425.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.4602, allocations: 4 kB / 425.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005795/0.466, allocations: 1.608 MB / 426.8 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.833e-05/0.4661, allocations: 15.97 kB / 426.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.4662, allocations: 23.86 kB / 426.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.4697, allocations: 1.068 MB / 427.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.4698, allocations: 4 kB / 427.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4698, allocations: 0 / 427.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4698, allocations: 0 / 427.9 MB, free: 15.48 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.001115/0.4709, allocations: 0.538 MB / 428.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/0.471, allocations: 12.03 kB / 428.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.4712, allocations: 8.922 kB / 428.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.4715, allocations: 188.2 kB / 428.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.4715, allocations: 384 / 428.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.4716, allocations: 4.375 kB / 428.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.4718, allocations: 71.45 kB / 428.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4719, allocations: 4 kB / 428.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4719, allocations: 0 / 428.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4719, allocations: 0 / 428.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.4721, allocations: 31.92 kB / 428.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.4724, allocations: 174.5 kB / 428.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.4729, allocations: 81.25 kB / 429 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.4731, allocations: 29.64 kB / 429.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009697/0.4828, allocations: 3.305 MB / 432.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.754e-05/0.4829, allocations: 42.5 kB / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/0.4829, allocations: 0 / 432.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004595/0.4833, allocations: 81.52 kB / 432.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.4834, allocations: 77.11 kB / 432.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4836, allocations: 113.8 kB / 432.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4836, allocations: 29.7 kB / 432.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.4837, allocations: 88.12 kB / 432.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.4837, allocations: 11.81 kB / 432.8 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.4838, allocations: 25.7 kB / 432.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4839, allocations: 310.8 kB / 433.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.484, allocations: 15.98 kB / 433.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.549e-05/0.4841, allocations: 21.72 kB / 433.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4842, allocations: 41.64 kB / 433.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4843, allocations: 0 / 433.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002154/0.4845, allocations: 73.52 kB / 433.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4845, allocations: 10.97 kB / 433.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4846, allocations: 3.938 kB / 433.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4846, allocations: 0 / 433.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.4847, allocations: 11.98 kB / 433.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4847, allocations: 8 kB / 433.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.4848, allocations: 3.938 kB / 433.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.4848, allocations: 4 kB / 433.3 MB, free: 9.391 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 0.0001066/0.4849, allocations: 113.8 kB / 433.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.485, allocations: 15.83 kB / 433.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.4854, allocations: 105.9 kB / 433.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4854, allocations: 3.984 kB / 433.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4854, allocations: 0 / 433.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4854, allocations: 0 / 433.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.4856, allocations: 169.6 kB / 433.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4856, allocations: 0 / 433.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.964e-05/0.4857, allocations: 11.98 kB / 433.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4858, allocations: 3.984 kB / 433.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.4858, allocations: 8 kB / 433.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4858, allocations: 11.92 kB / 433.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4858, allocations: 0 / 433.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.4861, allocations: 102 kB / 433.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.4862, allocations: 89.03 kB / 433.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.4863, allocations: 4 kB / 433.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4864, allocations: 3.984 kB / 433.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.4865, allocations: 12 kB / 434 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.4865, allocations: 7.984 kB / 434 MB, free: 8.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.86e-05/0.4866, allocations: 87.28 kB / 434 MB, free: 8.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4866, allocations: 0 / 434 MB, free: 8.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001365/0.488, allocations: 323.6 kB / 434.4 MB, free: 8.238 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.001825/0.4898, allocations: 0.5771 MB / 434.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.4902, allocations: 35.92 kB / 435 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4902, allocations: 0 / 435 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.4903, allocations: 19.98 kB / 435 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4907, allocations: 19.91 kB / 435 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.4913, allocations: 189.6 kB / 435.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.4916, allocations: 0.6807 MB / 435.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.4917, allocations: 31.36 kB / 435.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4918, allocations: 0 / 435.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.01504/0.5068, allocations: 5.945 MB / 441.9 MB, free: 0.6602 MB / 350.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