Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009562/0.0009562, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001036/0.001036, allocations: 167.1 kB / 25.7 MB, free: 8.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9141/0.9141, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.068e-05, allocations: 2.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002391/0.002412, allocations: 1.445 MB / 253 MB, free: 5.781 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.02509/0.0275, allocations: 23.35 MB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.02754, allocations: 0 / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.02766, allocations: 11.92 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.03803, allocations: 5.184 MB / 281.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.03868, allocations: 378.3 kB / 281.9 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.03879, allocations: 79.58 kB / 282 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.03883, allocations: 7.984 kB / 282 MB, free: 8.664 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.0389, allocations: 39.91 kB / 282.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.387e-05/0.03898, allocations: 27.95 kB / 282.1 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.039, allocations: 4 kB / 282.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.05159, allocations: 8.752 MB / 290.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.05163, allocations: 15.98 kB / 290.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.05166, allocations: 27.91 kB / 290.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.05824, allocations: 5.449 MB / 296.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.05824, allocations: 0 / 296.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.05825, allocations: 0 / 296.3 MB, free: 10.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.05825, allocations: 0 / 296.3 MB, free: 10.32 MB / 282.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.001351/0.0596, allocations: 0.8234 MB / 297.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.05963, allocations: 15.98 kB / 297.2 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.05967, allocations: 8.922 kB / 297.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.06001, allocations: 132.5 kB / 297.3 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.06003, allocations: 4.375 kB / 297.3 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.06004, allocations: 3.938 kB / 297.3 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.06018, allocations: 134.3 kB / 297.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.06019, allocations: 0 / 297.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.0602, allocations: 4 kB / 297.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.0602, allocations: 0 / 297.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.06024, allocations: 17.64 kB / 297.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.06034, allocations: 75.5 kB / 297.5 MB, free: 9.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.06051, allocations: 80.45 kB / 297.6 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.621e-05/0.06054, allocations: 21.72 kB / 297.6 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.06058, allocations: 8 kB / 297.6 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.0606, allocations: 38.55 kB / 297.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.11e-07/0.0606, allocations: 0 / 297.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001297/0.06073, allocations: 69.53 kB / 297.8 MB, free: 8.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.06076, allocations: 77.11 kB / 297.8 MB, free: 8.656 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.06083, allocations: 128.3 kB / 298 MB, free: 8.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.06084, allocations: 25.7 kB / 298 MB, free: 8.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.112e-05/0.06087, allocations: 80.14 kB / 298.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.0609, allocations: 27.83 kB / 298.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.06093, allocations: 25.66 kB / 298.1 MB, free: 8.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.061, allocations: 318.8 kB / 298.4 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.06103, allocations: 14.81 kB / 298.4 MB, free: 8.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.06105, allocations: 13.72 kB / 298.4 MB, free: 7.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.0611, allocations: 31.36 kB / 298.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.0611, allocations: 0 / 298.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.693e-05/0.06117, allocations: 59.27 kB / 298.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.06119, allocations: 7.938 kB / 298.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.06119, allocations: 0 / 298.5 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.06121, allocations: 8 kB / 298.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.06126, allocations: 12.11 kB / 298.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.06126, allocations: 4 kB / 298.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.06129, allocations: 11.83 kB / 298.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.0613, allocations: 4 kB / 298.6 MB, free: 7.836 MB / 282.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 6.388e-05/0.06136, allocations: 120.6 kB / 298.7 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.06137, allocations: 7.984 kB / 298.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.06148, allocations: 69.61 kB / 298.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.06148, allocations: 0 / 298.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.06148, allocations: 4 kB / 298.8 MB, free: 7.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.06149, allocations: 3.938 kB / 298.8 MB, free: 7.621 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.445e-05/0.06156, allocations: 73.89 kB / 298.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.06156, allocations: 0 / 298.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.0616, allocations: 12.55 kB / 298.9 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0616, allocations: 4 kB / 298.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.06161, allocations: 0 / 298.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.06161, allocations: 0 / 298.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.06161, allocations: 3.938 kB / 298.9 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.273e-05/0.06169, allocations: 90.45 kB / 299 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.06172, allocations: 15.97 kB / 299 MB, free: 7.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.06173, allocations: 3.938 kB / 299 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.06177, allocations: 8 kB / 299 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.0618, allocations: 11.92 kB / 299 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.06181, allocations: 0 / 299 MB, free: 7.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.548e-05/0.06183, allocations: 23.67 kB / 299 MB, free: 7.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06183, allocations: 0 / 299 MB, free: 7.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001464/0.0633, allocations: 0.9391 MB / 300 MB, free: 6.391 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.003045/0.06634, allocations: 1.549 MB / 301.5 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.182e-05/0.06642, allocations: 32.77 kB / 301.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.06643, allocations: 0 / 301.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.06645, allocations: 16.84 kB / 301.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.06658, allocations: 23.94 kB / 301.6 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.06709, allocations: 192.9 kB / 301.8 MB, free: 4.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.06712, allocations: 59.34 kB / 301.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.243e-05/0.06716, allocations: 12.36 kB / 301.8 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.06724, allocations: 75.36 kB / 301.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.06724, allocations: 0 / 301.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of Templates: time 0.0356/0.1028, allocations: 34.45 MB / 336.4 MB, free: 1.887 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.479315428994596]