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.001337/0.001337, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00146/0.00146, allocations: 211.4 kB / 24.48 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.435/1.435, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.001567/0.001567, allocations: 48.06 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2163, allocations: 53.38 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002404/0.2187, allocations: 1.339 MB / 433.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.2323, allocations: 10.71 MB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.2323, allocations: 0 / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.2324, allocations: 3.938 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002688/0.235, allocations: 1.021 MB / 445.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.2365, allocations: 0.6409 MB / 446 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2366, allocations: 71.64 kB / 446.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.2366, allocations: 3.984 kB / 446.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.2367, allocations: 27.88 kB / 446.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.363e-05/0.2368, allocations: 35.89 kB / 446.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2368, allocations: 4 kB / 446.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.2393, allocations: 1.565 MB / 447.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2393, allocations: 15.97 kB / 447.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.2393, allocations: 11.94 kB / 447.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.241, allocations: 1.052 MB / 448.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.241, allocations: 0 / 448.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.241, allocations: 0 / 448.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.241, allocations: 4 kB / 448.8 MB, free: 6.137 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.0007298/0.2417, allocations: 484.2 kB / 449.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2418, allocations: 12.02 kB / 449.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2419, allocations: 12.83 kB / 449.3 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.242, allocations: 126.5 kB / 449.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2421, allocations: 384 / 449.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2421, allocations: 8.375 kB / 449.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.2423, allocations: 122.9 kB / 449.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2423, allocations: 0 / 449.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.2423, allocations: 7.984 kB / 449.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2423, allocations: 0 / 449.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.2424, allocations: 19.98 kB / 449.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.2426, allocations: 122.1 kB / 449.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.2429, allocations: 85.22 kB / 449.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.005e-05/0.243, allocations: 25.77 kB / 449.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00636/0.2493, allocations: 1.502 MB / 451.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2494, allocations: 34.5 kB / 451.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.2494, allocations: 0 / 451.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003124/0.2497, allocations: 89.55 kB / 451.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.2497, allocations: 81.11 kB / 451.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2498, allocations: 113.8 kB / 451.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.2499, allocations: 25.7 kB / 451.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.2499, allocations: 88.14 kB / 451.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.2499, allocations: 19.84 kB / 451.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.25, allocations: 25.7 kB / 451.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2501, allocations: 310.8 kB / 452.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.152e-05/0.2502, allocations: 15.98 kB / 452.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.2502, allocations: 21.72 kB / 452.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.2504, allocations: 42.02 kB / 452.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2504, allocations: 0 / 452.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002016/0.2506, allocations: 77.55 kB / 452.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2506, allocations: 11.94 kB / 452.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2506, allocations: 0 / 452.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2506, allocations: 3.938 kB / 452.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.2507, allocations: 15.92 kB / 452.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2507, allocations: 4 kB / 452.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.2507, allocations: 7.938 kB / 452.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.2507, allocations: 4.125 kB / 452.3 MB, free: 2.434 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 8.419e-05/0.2508, allocations: 113.8 kB / 452.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.2509, allocations: 15.89 kB / 452.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.2511, allocations: 101.6 kB / 452.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2511, allocations: 4 kB / 452.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2511, allocations: 0 / 452.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2511, allocations: 4 kB / 452.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.2513, allocations: 109.3 kB / 452.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2513, allocations: 3.938 kB / 452.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.2513, allocations: 8 kB / 452.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2513, allocations: 0 / 452.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2513, allocations: 7.938 kB / 452.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2513, allocations: 0 / 452.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2513, allocations: 0 / 452.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.2515, allocations: 105.9 kB / 452.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.2516, allocations: 7.984 kB / 452.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.2516, allocations: 7.938 kB / 452.8 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.2517, allocations: 7.984 kB / 452.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.2517, allocations: 7.938 kB / 452.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2517, allocations: 3.984 kB / 452.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.2518, allocations: 95.28 kB / 452.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2518, allocations: 0 / 452.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007251/0.2525, allocations: 322.8 kB / 453.2 MB, free: 1.457 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.001217/0.2538, allocations: 0.5921 MB / 453.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.2539, allocations: 31.92 kB / 453.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2539, allocations: 0 / 453.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.254, allocations: 15.98 kB / 453.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2542, allocations: 19.91 kB / 453.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.2546, allocations: 176.1 kB / 454 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.68e-05/0.2547, allocations: 63.34 kB / 454.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.2548, allocations: 47.88 kB / 454.2 MB, free: 468 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.2548, allocations: 19.42 kB / 454.2 MB, free: 448 kB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2548, allocations: 0 / 454.2 MB, free: 448 kB / 350.1 MB Notification: Performance of Templates: time 0.0146/0.2694, allocations: 9.089 MB / 463.3 MB, free: 7.355 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 -s gbode -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: 6.319844686004217]