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.001915/0.001915, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.002309/0.002309, allocations: 212 kB / 23.74 MB, free: 4.688 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001649/0.001649, allocations: 39.94 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2438, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002403/0.2462, allocations: 1.38 MB / 433 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01444/0.2606, allocations: 12.21 MB / 445.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.2607, allocations: 0 / 445.2 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.2607, allocations: 3.938 kB / 445.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.2636, allocations: 1.051 MB / 446.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00162/0.2652, allocations: 0.6432 MB / 446.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2654, allocations: 67.64 kB / 447 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.2654, allocations: 4 kB / 447 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.412e-05/0.2654, allocations: 27.91 kB / 447 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.526e-05/0.2655, allocations: 27.92 kB / 447 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2656, allocations: 0 / 447 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.2686, allocations: 1.658 MB / 448.7 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.2686, allocations: 4 kB / 448.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.2687, allocations: 27.86 kB / 448.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.2705, allocations: 1.079 MB / 449.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2705, allocations: 0 / 449.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2705, allocations: 0 / 449.8 MB, free: 4.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2705, allocations: 0 / 449.8 MB, free: 4.68 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.0008077/0.2713, allocations: 488.2 kB / 450.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2713, allocations: 12.03 kB / 450.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.2715, allocations: 16.88 kB / 450.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2716, allocations: 118.5 kB / 450.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2716, allocations: 384 / 450.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2717, allocations: 4.375 kB / 450.4 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.2718, allocations: 71.52 kB / 450.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2718, allocations: 3.938 kB / 450.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.2719, allocations: 3.938 kB / 450.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2719, allocations: 0 / 450.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.272, allocations: 23.98 kB / 450.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.2722, allocations: 153.6 kB / 450.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.2725, allocations: 77.12 kB / 450.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.2726, allocations: 25.77 kB / 450.8 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006074/0.2786, allocations: 1.509 MB / 452.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.2787, allocations: 42.5 kB / 452.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.2787, allocations: 0 / 452.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003259/0.279, allocations: 77.61 kB / 452.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.279, allocations: 77.11 kB / 452.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.2792, allocations: 121.8 kB / 452.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2792, allocations: 25.7 kB / 452.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.2792, allocations: 92.12 kB / 452.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.2793, allocations: 15.8 kB / 452.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.2793, allocations: 21.7 kB / 452.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2794, allocations: 318.8 kB / 453.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.2795, allocations: 11.98 kB / 453.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.2796, allocations: 25.72 kB / 453.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2797, allocations: 37.7 kB / 453.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2797, allocations: 0 / 453.1 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001833/0.2799, allocations: 73.5 kB / 453.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2799, allocations: 4 kB / 453.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2799, allocations: 4 kB / 453.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2799, allocations: 0 / 453.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.28, allocations: 15.98 kB / 453.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.28, allocations: 0 / 453.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.2801, allocations: 7.938 kB / 453.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2801, allocations: 4 kB / 453.2 MB, free: 1.012 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 9.407e-05/0.2802, allocations: 113.8 kB / 453.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.2802, allocations: 15.88 kB / 453.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2805, allocations: 98.09 kB / 453.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2805, allocations: 7.984 kB / 453.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2805, allocations: 0 / 453.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2805, allocations: 3.938 kB / 453.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.2806, allocations: 140.7 kB / 453.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2806, allocations: 4 kB / 453.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.2807, allocations: 11.98 kB / 453.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2807, allocations: 3.984 kB / 453.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.2807, allocations: 4 kB / 453.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2807, allocations: 7.984 kB / 453.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2807, allocations: 3.938 kB / 453.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.2809, allocations: 106 kB / 453.8 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.2809, allocations: 7.922 kB / 453.8 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.281, allocations: 4 kB / 453.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.281, allocations: 11.98 kB / 453.8 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.2811, allocations: 4 kB / 453.8 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2811, allocations: 7.984 kB / 453.8 MB, free: 396 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.2812, allocations: 87.28 kB / 453.9 MB, free: 308 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2812, allocations: 0 / 453.9 MB, free: 308 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000831/0.282, allocations: 331 kB / 454.2 MB, free: 15.97 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.001276/0.2833, allocations: 0.5801 MB / 454.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.2835, allocations: 31.98 kB / 454.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2835, allocations: 0 / 454.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.2835, allocations: 19.92 kB / 454.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.2837, allocations: 23.91 kB / 454.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.2842, allocations: 160.4 kB / 455 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2845, allocations: 0.6845 MB / 455.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2846, allocations: 47.88 kB / 455.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.2847, allocations: 19.42 kB / 455.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2847, allocations: 0 / 455.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01604/0.3007, allocations: 9.013 MB / 464.8 MB, free: 5.324 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/jenkins/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/jenkins/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: 6.619783333037049]