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.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.00128/0.00128, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001769/0.003049, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008623/0.0008623, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001882, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 0.863/0.863, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1611/1.024, allocations: 49.49 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] 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.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_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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.708e-05, allocations: 2.312 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001692/0.001709, allocations: 1.445 MB / 223.4 MB, free: 14.6 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.02247, allocations: 23.51 MB / 246.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.02251, allocations: 0 / 246.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.229e-05/0.02259, allocations: 7.922 kB / 246.9 MB, free: 7 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.03339, allocations: 5.16 MB / 252.1 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.03398, allocations: 358.4 kB / 252.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.03409, allocations: 75.64 kB / 252.5 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.784e-05/0.03413, allocations: 7.984 kB / 252.5 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.03422, allocations: 55.89 kB / 252.6 MB, free: 1.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.03431, allocations: 35.89 kB / 252.6 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.03433, allocations: 4 kB / 252.6 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.04505, allocations: 8.779 MB / 261.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.04509, allocations: 7.984 kB / 261.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.04512, allocations: 23.94 kB / 261.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005132/0.05025, allocations: 4.16 MB / 265.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.05026, allocations: 4 kB / 265.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.05026, allocations: 0 / 265.6 MB, free: 4.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.05027, allocations: 0 / 265.6 MB, free: 4.297 MB / 266.7 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.001379/0.05165, allocations: 1.175 MB / 266.8 MB, free: 3.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.05168, allocations: 8.031 kB / 266.8 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.05171, allocations: 4.938 kB / 266.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.05182, allocations: 132.5 kB / 266.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.05184, allocations: 4.375 kB / 266.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.05186, allocations: 11.94 kB / 266.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.05198, allocations: 126.3 kB / 267.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.05199, allocations: 0 / 267.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.052, allocations: 4 kB / 267.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.05201, allocations: 0 / 267.1 MB, free: 2.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.05204, allocations: 21.58 kB / 267.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.869e-05/0.05213, allocations: 71.56 kB / 267.2 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.05228, allocations: 80.5 kB / 267.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.05231, allocations: 21.72 kB / 267.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.05235, allocations: 11.98 kB / 267.3 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.05237, allocations: 38.5 kB / 267.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 5.71e-07/0.05237, allocations: 0 / 267.3 MB, free: 2.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001074/0.05248, allocations: 65.55 kB / 267.4 MB, free: 2.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.05251, allocations: 77.11 kB / 267.4 MB, free: 2.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.05259, allocations: 132.3 kB / 267.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.0526, allocations: 25.7 kB / 267.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.05262, allocations: 84.12 kB / 267.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.05265, allocations: 31.78 kB / 267.7 MB, free: 1.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.05268, allocations: 17.66 kB / 267.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.05276, allocations: 322.8 kB / 268 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.05278, allocations: 6.828 kB / 268.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.0528, allocations: 17.72 kB / 268.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.05284, allocations: 39.28 kB / 268.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.05284, allocations: 0 / 268.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.044e-05/0.05289, allocations: 51.34 kB / 268.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.0529, allocations: 7.938 kB / 268.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.05291, allocations: 4 kB / 268.2 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.05292, allocations: 7.938 kB / 268.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.905e-05/0.05296, allocations: 11.98 kB / 268.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/0.05296, allocations: 0 / 268.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.05298, allocations: 4 kB / 268.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.05298, allocations: 0 / 268.2 MB, free: 1.477 MB / 266.7 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.267e-05/0.05303, allocations: 116.7 kB / 268.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.05304, allocations: 7.984 kB / 268.3 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.05313, allocations: 81.94 kB / 268.4 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.41e-07/0.05313, allocations: 4.094 kB / 268.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.05314, allocations: 7.984 kB / 268.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.05314, allocations: 0 / 268.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/0.0532, allocations: 73.83 kB / 268.5 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0532, allocations: 4 kB / 268.5 MB, free: 1.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.564e-05/0.05323, allocations: 11.98 kB / 268.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.05325, allocations: 4 kB / 268.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.05325, allocations: 128 / 268.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.05326, allocations: 19.92 kB / 268.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.05326, allocations: 0 / 268.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.05326, allocations: 0 / 268.5 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.283e-05/0.05334, allocations: 94.39 kB / 268.6 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-06/0.05334, allocations: 0 / 268.6 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.918e-05/0.05337, allocations: 11.98 kB / 268.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.0534, allocations: 7.922 kB / 268.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.05341, allocations: 4 kB / 268.6 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.071e-05/0.05343, allocations: 19.69 kB / 268.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05343, allocations: 0 / 268.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001188/0.05461, allocations: 0.9391 MB / 269.6 MB, free: 12 kB / 266.7 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.002559/0.05717, allocations: 1.572 MB / 271.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.05725, allocations: 28.83 kB / 271.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.05725, allocations: 0 / 271.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.05728, allocations: 24.78 kB / 271.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.05741, allocations: 145.7 kB / 271.4 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.05847, allocations: 192.9 kB / 271.5 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.856e-05/0.0585, allocations: 59.34 kB / 271.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.05854, allocations: 19.77 kB / 271.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.05861, allocations: 67.36 kB / 271.7 MB, free: 13.84 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.05861, allocations: 4 kB / 271.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of Templates: time 0.1386/0.1972, allocations: 33.65 MB / 305.3 MB, free: 20.51 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2598188938573]