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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001836/0.001836, allocations: 105.2 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 218.2 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 59.91 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2454, allocations: 53.32 MB / 429.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00242/0.2479, allocations: 1.383 MB / 431.2 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.2622, allocations: 12.21 MB / 443.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.2622, allocations: 3.938 kB / 443.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.2623, allocations: 3.938 kB / 443.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.266, allocations: 1.039 MB / 444.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2676, allocations: 0.637 MB / 445.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2677, allocations: 59.66 kB / 445.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.2677, allocations: 4 kB / 445.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.131e-05/0.2678, allocations: 27.91 kB / 445.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.594e-05/0.2679, allocations: 35.89 kB / 445.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2679, allocations: 4 kB / 445.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.2706, allocations: 1.639 MB / 446.8 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.2706, allocations: 7.938 kB / 446.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.2707, allocations: 31.84 kB / 446.9 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.2723, allocations: 1.076 MB / 447.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2723, allocations: 0 / 447.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2723, allocations: 0 / 447.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2723, allocations: 0 / 447.9 MB, free: 5.348 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.0007258/0.273, allocations: 0.5521 MB / 448.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.273, allocations: 8.031 kB / 448.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.2732, allocations: 12.89 kB / 448.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2733, allocations: 176.4 kB / 448.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2734, allocations: 4.359 kB / 448.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2734, allocations: 8.375 kB / 448.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2735, allocations: 71.45 kB / 448.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.2736, allocations: 0 / 448.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2736, allocations: 0 / 448.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2736, allocations: 4 kB / 448.8 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.2737, allocations: 23.97 kB / 448.8 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.2739, allocations: 178.6 kB / 449 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2742, allocations: 77.19 kB / 449 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.2742, allocations: 21.72 kB / 449.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006761/0.281, allocations: 3.305 MB / 452.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.281, allocations: 38.5 kB / 452.4 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.281, allocations: 0 / 452.4 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000305/0.2813, allocations: 85.59 kB / 452.5 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.2814, allocations: 85.05 kB / 452.6 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2815, allocations: 113.8 kB / 452.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2815, allocations: 25.7 kB / 452.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.2816, allocations: 84.08 kB / 452.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.2816, allocations: 23.84 kB / 452.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.2816, allocations: 17.72 kB / 452.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2818, allocations: 322.8 kB / 453.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.2818, allocations: 7.984 kB / 453.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.2819, allocations: 29.7 kB / 453.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.282, allocations: 38.06 kB / 453.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.282, allocations: 0 / 453.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001672/0.2822, allocations: 77.5 kB / 453.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.2822, allocations: 8 kB / 453.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2822, allocations: 128 / 453.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2822, allocations: 8 kB / 453.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.2823, allocations: 8 kB / 453.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2823, allocations: 320 / 453.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.2823, allocations: 11.92 kB / 453.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.2823, allocations: 3.938 kB / 453.3 MB, free: 15.24 MB / 366.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 8.038e-05/0.2824, allocations: 113.8 kB / 453.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.2824, allocations: 11.89 kB / 453.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.2827, allocations: 105.5 kB / 453.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2827, allocations: 4 kB / 453.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2827, allocations: 3.938 kB / 453.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2827, allocations: 0 / 453.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.2828, allocations: 169.6 kB / 453.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2828, allocations: 4 kB / 453.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.2829, allocations: 23.86 kB / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2829, allocations: 0 / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2829, allocations: 0 / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2829, allocations: 4 kB / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2829, allocations: 0 / 453.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.2831, allocations: 97.92 kB / 453.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.2832, allocations: 93.03 kB / 454 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2832, allocations: 0 / 454 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.2833, allocations: 4 kB / 454 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.2833, allocations: 11.98 kB / 454 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-06/0.2833, allocations: 0 / 454 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.578e-05/0.2834, allocations: 95.27 kB / 454.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2834, allocations: 0 / 454.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000728/0.2841, allocations: 326.8 kB / 454.4 MB, free: 14.09 MB / 366.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.001135/0.2852, allocations: 0.5838 MB / 455 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.2854, allocations: 31.97 kB / 455 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.2854, allocations: 4 kB / 455 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.2855, allocations: 23.86 kB / 455 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2857, allocations: 22.75 kB / 455 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.2861, allocations: 171.9 kB / 455.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.2864, allocations: 0.6846 MB / 455.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.2865, allocations: 44.55 kB / 455.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.2866, allocations: 23.36 kB / 456 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2866, allocations: 0 / 456 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01416/0.3008, allocations: 8.996 MB / 465 MB, free: 3.441 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.372988952323794]