Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 188.7 kB / 22.92 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 54.11 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3098, allocations: 49.12 MB / 394.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002603/0.3124, allocations: 1.374 MB / 395.9 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03139/0.3438, allocations: 23.88 MB / 419.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.3438, allocations: 0 / 419.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.344, allocations: 7.938 kB / 419.8 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01914/0.3631, allocations: 5.648 MB / 425.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.3641, allocations: 349.9 kB / 425.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3642, allocations: 76.77 kB / 425.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.3643, allocations: 5.359 kB / 425.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.3644, allocations: 36.36 kB / 425.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.982e-05/0.3645, allocations: 39 kB / 425.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3645, allocations: 2.75 kB / 425.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.3837, allocations: 8.869 MB / 434.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.3838, allocations: 15.92 kB / 434.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.3838, allocations: 31.84 kB / 434.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.3984, allocations: 4.35 MB / 439.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3984, allocations: 0 / 439.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3984, allocations: 4 kB / 439.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3985, allocations: 3.984 kB / 439.2 MB, free: 7.238 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.002599/0.4011, allocations: 0.9239 MB / 440.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4011, allocations: 8.031 kB / 440.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.4012, allocations: 8.891 kB / 440.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.4014, allocations: 207.8 kB / 440.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4014, allocations: 4 kB / 440.3 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4014, allocations: 3.938 kB / 440.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.4016, allocations: 75.39 kB / 440.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4016, allocations: 0 / 440.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4017, allocations: 0 / 440.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.4017, allocations: 0 / 440.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.4018, allocations: 39.91 kB / 440.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.4021, allocations: 190.5 kB / 440.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.4024, allocations: 89.19 kB / 440.7 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.4025, allocations: 33.7 kB / 440.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.4026, allocations: 11.98 kB / 440.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.4026, allocations: 34.56 kB / 440.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4026, allocations: 7.938 kB / 440.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000362/0.403, allocations: 101.5 kB / 440.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4031, allocations: 81.11 kB / 441 MB, free: 5.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4032, allocations: 133.8 kB / 441.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.4033, allocations: 29.7 kB / 441.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.4033, allocations: 80.14 kB / 441.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.4034, allocations: 27.78 kB / 441.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.4034, allocations: 21.72 kB / 441.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4035, allocations: 326.8 kB / 441.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.4036, allocations: 12 kB / 441.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.4037, allocations: 29.7 kB / 441.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4038, allocations: 57.98 kB / 441.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4038, allocations: 0 / 441.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001846/0.404, allocations: 85.56 kB / 441.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.404, allocations: 8 kB / 441.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.404, allocations: 0 / 441.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.404, allocations: 0 / 441.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.4041, allocations: 20.11 kB / 441.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4041, allocations: 0 / 441.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.892e-05/0.4041, allocations: 0 / 441.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.4042, allocations: 4 kB / 441.8 MB, free: 4.352 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.0001003/0.4043, allocations: 117.7 kB / 441.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.4043, allocations: 8 kB / 441.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.4045, allocations: 109.4 kB / 442 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4045, allocations: 3.938 kB / 442 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4045, allocations: 0 / 442 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4045, allocations: 0 / 442 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.4048, allocations: 185.6 kB / 442.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4048, allocations: 0 / 442.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.4048, allocations: 12 kB / 442.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4048, allocations: 3.938 kB / 442.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4048, allocations: 4 kB / 442.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4048, allocations: 384 / 442.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4048, allocations: 7.984 kB / 442.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.4051, allocations: 113.9 kB / 442.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.849e-05/0.4052, allocations: 89.03 kB / 442.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4052, allocations: 3.938 kB / 442.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.395e-05/0.4052, allocations: 8 kB / 442.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.4053, allocations: 7.984 kB / 442.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.4053, allocations: 4 kB / 442.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.4054, allocations: 107.3 kB / 442.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4054, allocations: 3.938 kB / 442.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002725/0.4081, allocations: 0.943 MB / 443.5 MB, free: 2.531 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.004/0.4121, allocations: 1.359 MB / 444.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002176/0.4123, allocations: 43.97 kB / 444.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4123, allocations: 0 / 444.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.4124, allocations: 27.92 kB / 445 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.4126, allocations: 15.98 kB / 445 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.4131, allocations: 192.5 kB / 445.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.4135, allocations: 0.6844 MB / 445.8 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.4136, allocations: 11.98 kB / 445.9 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.4136, allocations: 27.42 kB / 445.9 MB, free: 104 kB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4136, allocations: 0 / 445.9 MB, free: 104 kB / 350.1 MB Notification: Performance of Templates: time 0.04202/0.4557, allocations: 28.53 MB / 474.4 MB, free: 3.523 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.613652122206986]