Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 206 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.256, allocations: 53.38 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002403/0.2584, allocations: 1.351 MB / 432.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.2881, allocations: 21.15 MB / 454.1 MB, free: 96 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.2881, allocations: 4 kB / 454.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.2882, allocations: 19.86 kB / 454.1 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.3039, allocations: 5.951 MB / 460.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.3047, allocations: 366.7 kB / 460.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.3049, allocations: 75.64 kB / 460.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.3049, allocations: 7.984 kB / 460.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.305, allocations: 39.84 kB / 460.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.458e-05/0.3051, allocations: 31.91 kB / 460.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.3051, allocations: 4 kB / 460.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01595/0.3211, allocations: 8.678 MB / 469.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.3211, allocations: 19.92 kB / 469.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.3212, allocations: 19.92 kB / 469.3 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008812/0.33, allocations: 4.342 MB / 473.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.33, allocations: 0 / 473.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.33, allocations: 0 / 473.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.33, allocations: 0 / 473.6 MB, free: 12.53 MB / 382.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.00191/0.3319, allocations: 0.8602 MB / 474.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3319, allocations: 12.03 kB / 474.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.332, allocations: 8.891 kB / 474.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.3322, allocations: 145.9 kB / 474.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3322, allocations: 0 / 474.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3322, allocations: 8 kB / 474.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3324, allocations: 122.8 kB / 474.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3324, allocations: 4 kB / 474.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3324, allocations: 0 / 474.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3324, allocations: 0 / 474.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3326, allocations: 39.91 kB / 474.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.3328, allocations: 130.2 kB / 474.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.3331, allocations: 97.23 kB / 475 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.3331, allocations: 21.72 kB / 475.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.3332, allocations: 19.92 kB / 475.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.3332, allocations: 38.56 kB / 475.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3332, allocations: 0 / 475.1 MB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003228/0.3335, allocations: 97.55 kB / 475.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3336, allocations: 81.11 kB / 475.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3337, allocations: 141.8 kB / 475.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3337, allocations: 25.7 kB / 475.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.3338, allocations: 92.12 kB / 475.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.3338, allocations: 15.8 kB / 475.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.3339, allocations: 21.72 kB / 475.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.334, allocations: 326.8 kB / 475.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.3341, allocations: 15.98 kB / 475.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.3342, allocations: 33.7 kB / 476 MB, free: 9.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3343, allocations: 54 kB / 476 MB, free: 9.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3343, allocations: 4 kB / 476 MB, free: 9.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001887/0.3345, allocations: 69.67 kB / 476.1 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3345, allocations: 11.98 kB / 476.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3345, allocations: 3.938 kB / 476.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3345, allocations: 0 / 476.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.3346, allocations: 12 kB / 476.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3346, allocations: 0 / 476.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.3346, allocations: 11.95 kB / 476.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.3347, allocations: 128 / 476.1 MB, free: 9.809 MB / 382.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.95e-05/0.3347, allocations: 117.8 kB / 476.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.3348, allocations: 11.94 kB / 476.2 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.335, allocations: 101.6 kB / 476.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.335, allocations: 0 / 476.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.335, allocations: 0 / 476.3 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.335, allocations: 7.984 kB / 476.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3352, allocations: 133.2 kB / 476.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3352, allocations: 0 / 476.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3352, allocations: 8 kB / 476.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3352, allocations: 4 kB / 476.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3352, allocations: 0 / 476.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3352, allocations: 0 / 476.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3352, allocations: 3.938 kB / 476.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.3354, allocations: 117.9 kB / 476.6 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.3355, allocations: 11.89 kB / 476.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3355, allocations: 7.984 kB / 476.6 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.3356, allocations: 8 kB / 476.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3356, allocations: 8.359 kB / 476.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.3356, allocations: 0 / 476.6 MB, free: 9.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.278e-05/0.3357, allocations: 111.2 kB / 476.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3357, allocations: 4 kB / 476.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002217/0.3379, allocations: 0.9547 MB / 477.7 MB, free: 8.145 MB / 382.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.0038/0.3417, allocations: 1.34 MB / 479.1 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.342, allocations: 47.97 kB / 479.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.342, allocations: 0 / 479.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.189e-05/0.342, allocations: 31.92 kB / 479.1 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.3423, allocations: 19.92 kB / 479.2 MB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.3427, allocations: 184.8 kB / 479.3 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.3428, allocations: 75.28 kB / 479.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.3428, allocations: 11.98 kB / 479.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.3429, allocations: 19.42 kB / 479.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3429, allocations: 0 / 479.4 MB, free: 6.359 MB / 382.1 MB Notification: Performance of Templates: time 0.04017/0.3831, allocations: 27.4 MB / 0.495 GB, free: 10.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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: 8.713485008105636]