Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.00199/0.00199, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002419/0.002419, allocations: 209 kB / 24.47 MB, free: 3.941 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.812/1.812, allocations: 230.6 MB / 258.2 MB, free: 7.746 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2994, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.003512/0.3029, allocations: 1.351 MB / 433.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.3227, allocations: 10.71 MB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.3228, allocations: 0 / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.3228, allocations: 7.922 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004862/0.3277, allocations: 1.018 MB / 445.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.3307, allocations: 0.6442 MB / 446.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.3309, allocations: 63.72 kB / 446.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.331, allocations: 0 / 446.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.475e-05/0.331, allocations: 31.91 kB / 446.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.3313, allocations: 31.89 kB / 446.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3313, allocations: 8 kB / 446.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/0.3361, allocations: 1.483 MB / 447.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.3361, allocations: 11.94 kB / 447.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.66e-05/0.3362, allocations: 23.91 kB / 447.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.3395, allocations: 1.052 MB / 448.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3395, allocations: 0 / 448.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3395, allocations: 0 / 448.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3395, allocations: 0 / 448.8 MB, free: 6.203 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.001144/0.3407, allocations: 488.2 kB / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3407, allocations: 8.031 kB / 449.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002087/0.3409, allocations: 20.88 kB / 449.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3411, allocations: 114.5 kB / 449.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3411, allocations: 4.375 kB / 449.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.3412, allocations: 4.359 kB / 449.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3415, allocations: 130.9 kB / 449.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3415, allocations: 0 / 449.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3415, allocations: 0 / 449.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3415, allocations: 0 / 449.5 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.3417, allocations: 23.92 kB / 449.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.342, allocations: 122.2 kB / 449.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.3424, allocations: 85.11 kB / 449.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3425, allocations: 29.77 kB / 449.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008214/0.3507, allocations: 1.494 MB / 451.3 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.3508, allocations: 46.48 kB / 451.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.3508, allocations: 4 kB / 451.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004041/0.3512, allocations: 77.61 kB / 451.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.3512, allocations: 81.05 kB / 451.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3514, allocations: 113.8 kB / 451.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3514, allocations: 25.7 kB / 451.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.3515, allocations: 88.12 kB / 451.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.3515, allocations: 19.86 kB / 451.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3515, allocations: 17.72 kB / 451.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3517, allocations: 318.8 kB / 452 MB, free: 2.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.723e-05/0.3518, allocations: 12 kB / 452 MB, free: 2.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.3519, allocations: 25.7 kB / 452.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.352, allocations: 42 kB / 452.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.352, allocations: 4 kB / 452.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002093/0.3522, allocations: 69.62 kB / 452.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3522, allocations: 7.938 kB / 452.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3522, allocations: 0 / 452.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3523, allocations: 0 / 452.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.3524, allocations: 19.92 kB / 452.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3524, allocations: 4 kB / 452.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.3524, allocations: 3.938 kB / 452.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3524, allocations: 8 kB / 452.2 MB, free: 2.508 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.0001036/0.3525, allocations: 109.8 kB / 452.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.3526, allocations: 11.89 kB / 452.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.3529, allocations: 105.5 kB / 452.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3529, allocations: 0 / 452.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3529, allocations: 4 kB / 452.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3529, allocations: 4.109 kB / 452.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.353, allocations: 113.3 kB / 452.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.353, allocations: 0 / 452.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.906e-05/0.3531, allocations: 15.92 kB / 452.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3531, allocations: 4 kB / 452.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3531, allocations: 7.938 kB / 452.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3531, allocations: 0 / 452.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3531, allocations: 0 / 452.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3534, allocations: 101.9 kB / 452.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.3534, allocations: 11.98 kB / 452.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3534, allocations: 11.88 kB / 452.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.3535, allocations: 0 / 452.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.3536, allocations: 15.92 kB / 452.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3536, allocations: 4 kB / 452.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.442e-05/0.3537, allocations: 91.58 kB / 452.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3537, allocations: 0 / 452.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001001/0.3547, allocations: 326.8 kB / 453.1 MB, free: 1.52 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.001169/0.3559, allocations: 0.5879 MB / 453.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.356, allocations: 31.92 kB / 453.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.356, allocations: 0 / 453.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.3561, allocations: 19.98 kB / 453.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.3563, allocations: 19.88 kB / 453.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.3568, allocations: 197.8 kB / 454 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.392e-05/0.3568, allocations: 67.34 kB / 454.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.3569, allocations: 23.42 kB / 454.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3569, allocations: 0 / 454.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of Templates: time 0.009871/0.3667, allocations: 5.968 MB / 460.1 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.85189931280911]