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.001732/0.001732, allocations: 112.5 kB / 18.45 MB, free: 4.562 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.002202/0.002202, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.685/1.685, allocations: 230.6 MB / 254.8 MB, free: 15.06 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.001537/0.001537, allocations: 51.92 kB / 374.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1028, allocations: 53.33 MB / 427.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002495/0.1052, allocations: 1.372 MB / 428.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2357/0.3409, allocations: 12.16 MB / 441 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.245e-05/0.341, allocations: 0 / 441 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.341, allocations: 7.047 kB / 441 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003954/0.345, allocations: 1.045 MB / 442.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.3474, allocations: 0.6281 MB / 442.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3476, allocations: 66.22 kB / 442.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.3476, allocations: 2.891 kB / 442.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.47e-05/0.3477, allocations: 33.27 kB / 442.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.3478, allocations: 33.88 kB / 442.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3478, allocations: 2.062 kB / 442.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004325/0.3522, allocations: 1.631 MB / 444.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.3522, allocations: 9.703 kB / 444.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.3522, allocations: 36.06 kB / 444.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.3554, allocations: 1.065 MB / 445.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3554, allocations: 4.641 kB / 445.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3554, allocations: 4 kB / 445.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.3554, allocations: 1.156 kB / 445.6 MB, free: 2.41 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.001146/0.3565, allocations: 0.5526 MB / 446.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.3566, allocations: 9.188 kB / 446.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3567, allocations: 12.45 kB / 446.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3569, allocations: 177.6 kB / 446.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3569, allocations: 1.469 kB / 446.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3569, allocations: 4.094 kB / 446.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3571, allocations: 76.14 kB / 446.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3571, allocations: 0 / 446.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3571, allocations: 1.094 kB / 446.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3571, allocations: 3.656 kB / 446.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.3572, allocations: 23.75 kB / 446.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.3574, allocations: 175.7 kB / 446.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.3577, allocations: 82.42 kB / 446.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.3578, allocations: 19.86 kB / 446.7 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006929/0.3647, allocations: 3.302 MB / 450 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/0.3648, allocations: 37.25 kB / 450 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.3648, allocations: 3.938 kB / 450 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004119/0.3652, allocations: 80.02 kB / 450.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.3653, allocations: 82.84 kB / 450.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3654, allocations: 114.8 kB / 450.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.3655, allocations: 26.67 kB / 450.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.3655, allocations: 87.45 kB / 450.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.3655, allocations: 16.08 kB / 450.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3656, allocations: 20.08 kB / 450.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3657, allocations: 317.9 kB / 450.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.3658, allocations: 12.75 kB / 450.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.3659, allocations: 25.53 kB / 450.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.366, allocations: 39.7 kB / 450.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.366, allocations: 0 / 450.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002006/0.3662, allocations: 75.39 kB / 450.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3662, allocations: 8.281 kB / 450.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3662, allocations: 5.062 kB / 450.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3663, allocations: 1.969 kB / 450.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.3663, allocations: 10.52 kB / 450.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3663, allocations: 1.125 kB / 450.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.3664, allocations: 10.83 kB / 451 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3664, allocations: 3.031 kB / 451 MB, free: 14.01 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 0.0001051/0.3665, allocations: 116.6 kB / 451.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.3665, allocations: 11.89 kB / 451.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.3669, allocations: 104.9 kB / 451.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3669, allocations: 1.719 kB / 451.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3669, allocations: 0.5 kB / 451.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.3669, allocations: 1.891 kB / 451.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.3671, allocations: 170.4 kB / 451.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3671, allocations: 0.6562 kB / 451.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.3672, allocations: 21.08 kB / 451.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3672, allocations: 7.875 kB / 451.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3672, allocations: 2.969 kB / 451.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3672, allocations: 0.6562 kB / 451.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3672, allocations: 1.125 kB / 451.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3674, allocations: 99.72 kB / 451.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.3675, allocations: 87.92 kB / 451.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.3675, allocations: 10.78 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.3676, allocations: 2.719 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.3676, allocations: 6.25 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3676, allocations: 3.766 kB / 451.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.351e-05/0.3677, allocations: 95.97 kB / 451.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3677, allocations: 3.938 kB / 451.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001272/0.369, allocations: 326.2 kB / 452 MB, free: 13.25 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.00146/0.3704, allocations: 0.5805 MB / 452.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.3706, allocations: 32.45 kB / 452.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3706, allocations: 0 / 452.6 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.3707, allocations: 19.67 kB / 452.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3709, allocations: 18.39 kB / 452.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.3715, allocations: 206.8 kB / 452.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.3718, allocations: 0.6827 MB / 453.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.3718, allocations: 22.81 kB / 453.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3718, allocations: 0 / 453.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of Templates: time 0.01211/0.384, allocations: 5.963 MB / 459.5 MB, free: 10.05 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.66751019298681]