Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 80.95 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 145.6 kB / 23.94 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.288e-05, allocations: 8.891 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001827/0.00185, allocations: 1.328 MB / 320.2 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02874/0.03059, allocations: 21.1 MB / 341.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.03063, allocations: 1.062 kB / 341.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.03074, allocations: 7.922 kB / 341.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01684/0.04758, allocations: 6.001 MB / 347.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.04853, allocations: 370.3 kB / 347.7 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.04867, allocations: 83.62 kB / 347.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.04871, allocations: 0 / 347.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.04881, allocations: 39.91 kB / 347.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.04891, allocations: 39.88 kB / 347.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.04893, allocations: 4 kB / 347.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/0.06528, allocations: 8.38 MB / 356.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.06533, allocations: 15.92 kB / 356.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.105e-05/0.06538, allocations: 23.92 kB / 356.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.07703, allocations: 5.461 MB / 361.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.07704, allocations: 0 / 361.8 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.07704, allocations: 3.984 kB / 361.8 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.07705, allocations: 0 / 361.8 MB, free: 0.75 MB / 318.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.002158/0.07921, allocations: 0.8525 MB / 362.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.07925, allocations: 16.92 kB / 362.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.0793, allocations: 16.77 kB / 362.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.07947, allocations: 137.7 kB / 362.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.07948, allocations: 384 / 362.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.0795, allocations: 7.938 kB / 362.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.07971, allocations: 118.8 kB / 362.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.07972, allocations: 0 / 362.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.07973, allocations: 4 kB / 362.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.07973, allocations: 0 / 362.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.07987, allocations: 43.91 kB / 363 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.08005, allocations: 126.2 kB / 363.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.08038, allocations: 101.2 kB / 363.2 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.164e-05/0.08046, allocations: 29.7 kB / 363.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.08051, allocations: 11.94 kB / 363.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.08054, allocations: 34.56 kB / 363.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.08054, allocations: 0 / 363.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003264/0.08087, allocations: 101.6 kB / 363.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.08093, allocations: 89.11 kB / 363.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.08106, allocations: 137.8 kB / 363.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.08108, allocations: 25.7 kB / 363.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.08113, allocations: 88.14 kB / 363.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.08117, allocations: 23.78 kB / 363.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.08121, allocations: 25.7 kB / 363.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.08135, allocations: 310.8 kB / 364 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.719e-05/0.08142, allocations: 19.98 kB / 364.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.0815, allocations: 33.64 kB / 364.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.08163, allocations: 49.7 kB / 364.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.08163, allocations: 0 / 364.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002215/0.08185, allocations: 93.48 kB / 364.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.08187, allocations: 4 kB / 364.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.08188, allocations: 4 kB / 364.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.08189, allocations: 0 / 364.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.08196, allocations: 12.12 kB / 364.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.08196, allocations: 0 / 364.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.08201, allocations: 7.984 kB / 364.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.08202, allocations: 0 / 364.3 MB, free: 14.03 MB / 334.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.39e-05/0.08211, allocations: 121.8 kB / 364.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.08214, allocations: 11.89 kB / 364.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.0824, allocations: 101.6 kB / 364.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0824, allocations: 4 kB / 364.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.0824, allocations: 0 / 364.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.08241, allocations: 0 / 364.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.08254, allocations: 121.2 kB / 364.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.08254, allocations: 0.5625 kB / 364.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.0826, allocations: 11.94 kB / 364.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.08261, allocations: 11.94 kB / 364.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.08262, allocations: 7.984 kB / 364.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.08262, allocations: 0 / 364.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.08262, allocations: 0 / 364.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.08285, allocations: 113.9 kB / 364.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.08289, allocations: 15.88 kB / 364.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.08291, allocations: 4.375 kB / 364.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.08299, allocations: 4 kB / 364.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.08303, allocations: 3.984 kB / 364.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.08304, allocations: 4 kB / 364.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.706e-05/0.08313, allocations: 123.1 kB / 364.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08313, allocations: 0 / 364.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002136/0.08526, allocations: 0.9469 MB / 365.8 MB, free: 12.37 MB / 334.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.004296/0.08956, allocations: 1.471 MB / 367.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.08977, allocations: 43.97 kB / 367.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.08977, allocations: 4 kB / 367.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.08985, allocations: 27.92 kB / 367.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.09008, allocations: 15.98 kB / 367.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.09051, allocations: 173.5 kB / 367.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.942e-05/0.09058, allocations: 71.33 kB / 367.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.09063, allocations: 11.98 kB / 367.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.09067, allocations: 16.5 kB / 367.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.09067, allocations: 0 / 367.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of Templates: time 0.04135/0.132, allocations: 27.34 MB / 395 MB, free: 15.13 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.585864193737507]