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.001664/0.001664, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001472/0.001472, allocations: 206.3 kB / 23.73 MB, free: 4.523 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001575/0.001575, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2547, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002705/0.2574, allocations: 1.361 MB / 432.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.2715, allocations: 10.7 MB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.2716, allocations: 4 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2716, allocations: 3.938 kB / 443.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.2751, allocations: 1.021 MB / 444.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.2771, allocations: 0.6486 MB / 445.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.2772, allocations: 55.78 kB / 445.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.2772, allocations: 11.98 kB / 445.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.2773, allocations: 27.86 kB / 445.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.2774, allocations: 35.89 kB / 445.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2774, allocations: 4 kB / 445.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.2807, allocations: 1.557 MB / 447 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.2807, allocations: 11.92 kB / 447 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.2808, allocations: 23.92 kB / 447 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.2835, allocations: 1.052 MB / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2835, allocations: 0 / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2835, allocations: 0 / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2835, allocations: 4 kB / 448.1 MB, free: 6.148 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.0009224/0.2844, allocations: 484.2 kB / 448.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2844, allocations: 16.02 kB / 448.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.2846, allocations: 16.77 kB / 448.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.2847, allocations: 118.5 kB / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2847, allocations: 384 / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.2848, allocations: 384 / 448.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.285, allocations: 126.9 kB / 448.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.285, allocations: 0 / 448.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.285, allocations: 0 / 448.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.285, allocations: 4 kB / 448.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.2851, allocations: 27.92 kB / 448.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.2853, allocations: 122.1 kB / 449 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.2856, allocations: 81.27 kB / 449.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.2857, allocations: 29.7 kB / 449.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00593/0.2916, allocations: 1.506 MB / 450.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.2917, allocations: 34.56 kB / 450.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.2917, allocations: 0 / 450.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003388/0.292, allocations: 81.55 kB / 450.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.2921, allocations: 77.11 kB / 450.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2922, allocations: 121.8 kB / 450.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2922, allocations: 25.7 kB / 450.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2922, allocations: 84.14 kB / 451 MB, free: 3.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.2923, allocations: 19.86 kB / 451 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.2923, allocations: 21.7 kB / 451 MB, free: 2.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2925, allocations: 318.8 kB / 451.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.2925, allocations: 7.984 kB / 451.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.2926, allocations: 25.72 kB / 451.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.2927, allocations: 41.64 kB / 451.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2927, allocations: 0 / 451.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001846/0.2929, allocations: 70.03 kB / 451.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2929, allocations: 7.938 kB / 451.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2929, allocations: 8 kB / 451.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2929, allocations: 128 / 451.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.293, allocations: 15.98 kB / 451.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.293, allocations: 0 / 451.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/0.2931, allocations: 11.94 kB / 451.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.2931, allocations: 0 / 451.5 MB, free: 2.461 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.41e-05/0.2932, allocations: 113.8 kB / 451.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.2932, allocations: 15.88 kB / 451.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.2935, allocations: 113.8 kB / 451.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.2935, allocations: 0 / 451.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2935, allocations: 0 / 451.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2935, allocations: 0 / 451.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.2936, allocations: 117.3 kB / 451.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2936, allocations: 7.938 kB / 451.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.2937, allocations: 11.94 kB / 451.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2937, allocations: 0 / 451.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.2937, allocations: 7.938 kB / 451.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2937, allocations: 4 kB / 451.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2937, allocations: 0 / 451.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2939, allocations: 105.9 kB / 452 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.2939, allocations: 7.984 kB / 452 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.294, allocations: 3.938 kB / 452 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.294, allocations: 11.98 kB / 452.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.2941, allocations: 0 / 452.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2941, allocations: 7.984 kB / 452.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.2942, allocations: 87.28 kB / 452.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2942, allocations: 4 kB / 452.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008961/0.295, allocations: 330.8 kB / 452.5 MB, free: 1.461 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.001353/0.2964, allocations: 0.5759 MB / 453 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.2966, allocations: 39.92 kB / 453.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2966, allocations: 4 kB / 453.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.037e-05/0.2967, allocations: 19.92 kB / 453.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2969, allocations: 15.92 kB / 453.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.2973, allocations: 164.2 kB / 453.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.342e-05/0.2974, allocations: 63.34 kB / 453.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2975, allocations: 56.03 kB / 453.4 MB, free: 480 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.2976, allocations: 19.42 kB / 453.4 MB, free: 460 kB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2976, allocations: 0 / 453.4 MB, free: 460 kB / 350.1 MB Notification: Performance of Templates: time 0.01641/0.314, allocations: 9.097 MB / 462.5 MB, free: 7.363 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.533470511902124]