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.001824/0.001824, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002209/0.002209, allocations: 186 kB / 24.46 MB, free: 3.863 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.445/1.445, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.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 0.001596/0.001596, allocations: 51.91 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2261, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00253/0.2287, allocations: 1.343 MB / 425.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02974/0.2584, allocations: 21.09 MB / 446.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.631e-05/0.2584, allocations: 0 / 446.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.2585, allocations: 7.922 kB / 446.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.2733, allocations: 5.937 MB / 452.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.2742, allocations: 370.7 kB / 452.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2743, allocations: 75.59 kB / 452.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.2743, allocations: 11.97 kB / 452.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.2744, allocations: 31.92 kB / 452.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.575e-05/0.2745, allocations: 39.89 kB / 452.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2745, allocations: 4 kB / 452.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.2903, allocations: 8.351 MB / 461.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.2903, allocations: 15.92 kB / 461.1 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.374e-05/0.2904, allocations: 27.92 kB / 461.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009284/0.2997, allocations: 4.307 MB / 465.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2997, allocations: 4 kB / 465.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2997, allocations: 0 / 465.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2997, allocations: 0 / 465.4 MB, free: 4.77 MB / 366.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.002171/0.3019, allocations: 0.8563 MB / 466.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3019, allocations: 8.031 kB / 466.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.302, allocations: 8.891 kB / 466.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3021, allocations: 146 kB / 466.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3021, allocations: 4 kB / 466.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.3022, allocations: 0 / 466.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.3024, allocations: 122.8 kB / 466.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3024, allocations: 0 / 466.6 MB, free: 3.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3024, allocations: 4 kB / 466.6 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3024, allocations: 4 kB / 466.6 MB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.3025, allocations: 35.91 kB / 466.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3027, allocations: 150.1 kB / 466.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.303, allocations: 93.17 kB / 466.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.3031, allocations: 33.7 kB / 466.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.3031, allocations: 15.98 kB / 466.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3032, allocations: 38.5 kB / 466.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.3032, allocations: 0 / 466.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000317/0.3035, allocations: 97.59 kB / 467 MB, free: 3.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3035, allocations: 81.09 kB / 467.1 MB, free: 2.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3037, allocations: 141.8 kB / 467.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3037, allocations: 29.7 kB / 467.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.3038, allocations: 84.14 kB / 467.4 MB, free: 2.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3038, allocations: 19.86 kB / 467.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.3038, allocations: 21.7 kB / 467.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.304, allocations: 322.8 kB / 467.7 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.304, allocations: 15.98 kB / 467.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.3041, allocations: 29.7 kB / 467.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3042, allocations: 49.64 kB / 467.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3042, allocations: 0 / 467.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001978/0.3044, allocations: 93.55 kB / 467.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3044, allocations: 4 kB / 467.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3045, allocations: 0 / 467.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3045, allocations: 4 kB / 467.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.3045, allocations: 8 kB / 467.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3045, allocations: 0 / 467.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.3046, allocations: 4 kB / 467.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3046, allocations: 11.97 kB / 467.9 MB, free: 2.039 MB / 366.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 0.0001012/0.3047, allocations: 117.7 kB / 468 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3047, allocations: 7.953 kB / 468 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.305, allocations: 101.6 kB / 468.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.305, allocations: 4.562 kB / 468.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.305, allocations: 0 / 468.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.305, allocations: 0 / 468.2 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.3051, allocations: 125.2 kB / 468.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3051, allocations: 0 / 468.3 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.3052, allocations: 8 kB / 468.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3052, allocations: 3.938 kB / 468.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.3052, allocations: 4 kB / 468.3 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3052, allocations: 3.984 kB / 468.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3052, allocations: 7.984 kB / 468.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3054, allocations: 125.9 kB / 468.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.3054, allocations: 7.938 kB / 468.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3055, allocations: 4 kB / 468.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.3055, allocations: 384 / 468.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.3056, allocations: 11.98 kB / 468.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3056, allocations: 4 kB / 468.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.632e-05/0.3057, allocations: 111.2 kB / 468.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3057, allocations: 3.938 kB / 468.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002224/0.3079, allocations: 0.9469 MB / 469.5 MB, free: 396 kB / 366.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.003908/0.3118, allocations: 1.33 MB / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.312, allocations: 47.97 kB / 470.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.312, allocations: 0 / 470.9 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.3121, allocations: 27.92 kB / 470.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.3123, allocations: 27.98 kB / 470.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.3128, allocations: 218.6 kB / 471.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.357e-05/0.3128, allocations: 67.33 kB / 471.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.3129, allocations: 19.44 kB / 471.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3129, allocations: 0 / 471.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of Templates: time 0.02916/0.342, allocations: 18.18 MB / 489.4 MB, free: 12.39 MB / 398.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/jenkins1/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/jenkins1/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: 11.244879237841815]