Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001677/0.001677, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 230.2 MB / 255.1 MB, free: 15.28 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.86 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09925, allocations: 53.31 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00264/0.1019, allocations: 1.373 MB / 429.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1985/0.3004, allocations: 12.16 MB / 441.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.3004, allocations: 0 / 441.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.3005, allocations: 5.484 kB / 441.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003177/0.3036, allocations: 1.043 MB / 442.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.3053, allocations: 0.6279 MB / 443 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.3054, allocations: 73.75 kB / 443.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.3055, allocations: 2.656 kB / 443.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.3055, allocations: 23.97 kB / 443.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.3056, allocations: 41.83 kB / 443.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3056, allocations: 2.375 kB / 443.2 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.3088, allocations: 1.629 MB / 444.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3088, allocations: 13.66 kB / 444.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.3088, allocations: 24.66 kB / 444.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.3108, allocations: 1.072 MB / 445.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3108, allocations: 0 / 445.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3108, allocations: 5.094 kB / 445.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3109, allocations: 0 / 445.9 MB, free: 2.734 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.0007007/0.3116, allocations: 0.5559 MB / 446.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3116, allocations: 10.47 kB / 446.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3117, allocations: 12.59 kB / 446.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3118, allocations: 177.6 kB / 446.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3118, allocations: 1.594 kB / 446.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3118, allocations: 2.531 kB / 446.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.312, allocations: 72.31 kB / 446.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.312, allocations: 1.188 kB / 446.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.312, allocations: 0.7031 kB / 446.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.312, allocations: 1 kB / 446.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3121, allocations: 23.16 kB / 446.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.3123, allocations: 176.2 kB / 446.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.3126, allocations: 82.12 kB / 447 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.395e-05/0.3126, allocations: 27.41 kB / 447 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006426/0.3191, allocations: 3.298 MB / 450.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.3191, allocations: 45.33 kB / 450.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 3.186e-06/0.3191, allocations: 1.172 kB / 450.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003666/0.3195, allocations: 79.62 kB / 450.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3195, allocations: 82.11 kB / 450.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3196, allocations: 115.1 kB / 450.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3197, allocations: 26.67 kB / 450.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3197, allocations: 82.08 kB / 450.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.3197, allocations: 20.98 kB / 450.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.3198, allocations: 19.48 kB / 450.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3199, allocations: 314.8 kB / 451.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-05/0.32, allocations: 17.92 kB / 451.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.3201, allocations: 24.03 kB / 451.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3202, allocations: 39.81 kB / 451.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3202, allocations: 1.125 kB / 451.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001896/0.3204, allocations: 73.38 kB / 451.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3204, allocations: 10.28 kB / 451.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3204, allocations: 7.062 kB / 451.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3204, allocations: 0.8438 kB / 451.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.3205, allocations: 12.17 kB / 451.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3205, allocations: 1.609 kB / 451.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.3205, allocations: 7.109 kB / 451.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3206, allocations: 2.25 kB / 451.3 MB, free: 14.33 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 8.67e-05/0.3206, allocations: 113.3 kB / 451.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.3207, allocations: 11.33 kB / 451.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3209, allocations: 110.4 kB / 451.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.321, allocations: 1.219 kB / 451.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.321, allocations: 1.625 kB / 451.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.321, allocations: 2.828 kB / 451.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3211, allocations: 162.7 kB / 451.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3211, allocations: 0 / 451.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.3212, allocations: 15.98 kB / 451.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3212, allocations: 9.156 kB / 451.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3212, allocations: 1.984 kB / 451.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3212, allocations: 1.156 kB / 451.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3212, allocations: 2.5 kB / 451.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3214, allocations: 103.5 kB / 451.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.3215, allocations: 92.17 kB / 451.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3215, allocations: 4.938 kB / 451.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.3216, allocations: 3.734 kB / 451.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.3216, allocations: 13.78 kB / 451.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3216, allocations: 2.781 kB / 451.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.3217, allocations: 91.19 kB / 452 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3217, allocations: 1.062 kB / 452 MB, free: 13.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3228, allocations: 325.8 kB / 452.4 MB, free: 13.57 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.0013/0.3241, allocations: 0.5842 MB / 452.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3243, allocations: 35.58 kB / 453 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3243, allocations: 0 / 453 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.439e-05/0.3243, allocations: 18.38 kB / 453 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.3245, allocations: 14.61 kB / 453 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.325, allocations: 203.1 kB / 453.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3253, allocations: 0.6826 MB / 453.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.3254, allocations: 25.77 kB / 453.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3254, allocations: 0 / 453.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.01052/0.3359, allocations: 5.957 MB / 459.9 MB, free: 10.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.565848300931975]