Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.002388/0.002388, allocations: 91.61 kB / 20.96 MB, free: 3.441 MB / 18.57 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.002834/0.002834, allocations: 165.3 kB / 24.27 MB, free: 132 kB / 18.57 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.566/1.566, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.036e-05, allocations: 4.141 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00385/0.00388, allocations: 1.389 MB / 273.7 MB, free: 448 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1733/0.1772, allocations: 23.26 MB / 297 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.1772, allocations: 0 / 297 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.1774, allocations: 11.84 kB / 297 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.1946, allocations: 6.013 MB / 303 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008615/0.1954, allocations: 372.2 kB / 303.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1956, allocations: 80.62 kB / 303.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.1956, allocations: 5.156 kB / 303.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.1957, allocations: 42.67 kB / 303.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.1958, allocations: 36.72 kB / 303.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.1958, allocations: 3.875 kB / 303.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.2116, allocations: 8.418 MB / 311.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.2116, allocations: 14.91 kB / 312 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.2117, allocations: 25.8 kB / 312 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.2231, allocations: 5.503 MB / 317.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2231, allocations: 0 / 317.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2231, allocations: 0 / 317.5 MB, free: 4.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2231, allocations: 0 / 317.5 MB, free: 4.16 MB / 266.7 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.002056/0.2252, allocations: 0.9675 MB / 318.4 MB, free: 3.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2252, allocations: 8.031 kB / 318.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.325e-05/0.2253, allocations: 8.891 kB / 318.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2254, allocations: 140.4 kB / 318.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2254, allocations: 0.75 kB / 318.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2254, allocations: 4 kB / 318.6 MB, free: 2.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.2256, allocations: 132.9 kB / 318.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2256, allocations: 0 / 318.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2256, allocations: 0 / 318.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.2256, allocations: 0 / 318.7 MB, free: 2.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.2258, allocations: 27.92 kB / 318.8 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.2259, allocations: 135.7 kB / 318.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2262, allocations: 98.09 kB / 319 MB, free: 2.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.2263, allocations: 27.44 kB / 319 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.2263, allocations: 11.98 kB / 319 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.2264, allocations: 41.33 kB / 319.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.2264, allocations: 0 / 319.1 MB, free: 2.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003048/0.2267, allocations: 85.56 kB / 319.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2267, allocations: 81.11 kB / 319.2 MB, free: 2.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.2268, allocations: 186.5 kB / 319.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.2268, allocations: 25.7 kB / 319.4 MB, free: 1.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.2268, allocations: 134.9 kB / 319.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2268, allocations: 27.81 kB / 319.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.2269, allocations: 23.38 kB / 319.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.2269, allocations: 492.1 kB / 320.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.227, allocations: 15.98 kB / 320.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.227, allocations: 31.3 kB / 320.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.2271, allocations: 55.3 kB / 320.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2271, allocations: 0 / 320.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000153/0.2273, allocations: 72.02 kB / 320.3 MB, free: 1.105 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2273, allocations: 11.94 kB / 320.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2273, allocations: 0.625 kB / 320.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2273, allocations: 0 / 320.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.2274, allocations: 11.98 kB / 320.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2274, allocations: 4 kB / 320.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.2274, allocations: 0 / 320.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2274, allocations: 4 kB / 320.3 MB, free: 1.074 MB / 266.7 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 5.627e-05/0.2275, allocations: 160.6 kB / 320.5 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.2275, allocations: 19.88 kB / 320.5 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.2277, allocations: 88.41 kB / 320.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2277, allocations: 0 / 320.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2278, allocations: 0 / 320.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2278, allocations: 0 / 320.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.64e-05/0.2278, allocations: 124.6 kB / 320.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2278, allocations: 0 / 320.7 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.2279, allocations: 11.94 kB / 320.7 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2279, allocations: 8 kB / 320.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2279, allocations: 8.812 kB / 320.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2279, allocations: 0 / 320.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2279, allocations: 0 / 320.7 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.2281, allocations: 116.1 kB / 320.8 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.2281, allocations: 18.7 kB / 320.8 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2281, allocations: 6.875 kB / 320.9 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.2282, allocations: 4 kB / 320.9 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.2282, allocations: 3.984 kB / 320.9 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.2282, allocations: 4 kB / 320.9 MB, free: 452 kB / 266.7 MB Notification: Performance of sorting global known variables: time 4.446e-05/0.2283, allocations: 156.1 kB / 321 MB, free: 296 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2283, allocations: 0 / 321 MB, free: 296 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.002641/0.2309, allocations: 0.9586 MB / 322 MB, free: 15.33 MB / 282.7 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.004523/0.2354, allocations: 1.466 MB / 323.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.2357, allocations: 47.16 kB / 323.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2357, allocations: 3.938 kB / 323.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.2358, allocations: 23.69 kB / 323.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.236, allocations: 29.84 kB / 323.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.2365, allocations: 172.1 kB / 323.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.618e-05/0.2366, allocations: 71.33 kB / 323.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.2367, allocations: 11.98 kB / 323.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.2367, allocations: 20.5 kB / 323.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.2367, allocations: 0 / 323.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of Templates: time 0.04926/0.286, allocations: 28.22 MB / 352 MB, free: 1.199 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.609169969102368]