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.0009017/0.0009017, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009092/0.0009092, allocations: 160.4 kB / 25.45 MB, free: 9.352 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.8717/0.8717, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.072e-06/1.072e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.71e-05, allocations: 6.219 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001666/0.001683, allocations: 1.33 MB / 301 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.02009, allocations: 21.23 MB / 322.3 MB, free: 272 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.417e-05/0.02013, allocations: 0 / 322.3 MB, free: 272 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.02024, allocations: 11.92 kB / 322.3 MB, free: 260 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00858/0.02882, allocations: 5.676 MB / 327.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.02924, allocations: 378.3 kB / 328.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.02933, allocations: 71.66 kB / 328.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.342e-05/0.02938, allocations: 7.922 kB / 328.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.02944, allocations: 43.89 kB / 328.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.02952, allocations: 35.89 kB / 328.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.02953, allocations: 4 kB / 328.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01114/0.04068, allocations: 8.268 MB / 336.7 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.04072, allocations: 15.97 kB / 336.8 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.04077, allocations: 23.88 kB / 336.8 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006458/0.04722, allocations: 5.442 MB / 342.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.04723, allocations: 0 / 342.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04723, allocations: 0 / 342.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.04723, allocations: 4 kB / 342.2 MB, free: 12.25 MB / 330.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.001407/0.04864, allocations: 0.8486 MB / 343.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.04868, allocations: 15.98 kB / 343.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.04873, allocations: 4.891 kB / 343.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.04885, allocations: 145.6 kB / 343.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.04887, allocations: 384 / 343.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.04888, allocations: 11.94 kB / 343.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.04904, allocations: 118.8 kB / 343.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.04905, allocations: 0 / 343.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.04906, allocations: 7.938 kB / 343.4 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.04907, allocations: 4 kB / 343.4 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-05/0.04914, allocations: 39.91 kB / 343.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.04928, allocations: 126.2 kB / 343.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.04951, allocations: 93.16 kB / 343.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.199e-05/0.04955, allocations: 33.77 kB / 343.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.04959, allocations: 11.94 kB / 343.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.04961, allocations: 38.55 kB / 343.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.04961, allocations: 4 kB / 343.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002166/0.04983, allocations: 101.9 kB / 343.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.04986, allocations: 81.11 kB / 343.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.247e-05/0.04996, allocations: 133.8 kB / 344 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.04997, allocations: 29.7 kB / 344.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.05, allocations: 84.14 kB / 344.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.05004, allocations: 27.77 kB / 344.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.05007, allocations: 22.09 kB / 344.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.05015, allocations: 314.8 kB / 344.5 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.05019, allocations: 15.98 kB / 344.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.394e-05/0.05023, allocations: 37.7 kB / 344.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/0.05031, allocations: 57.55 kB / 344.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.05031, allocations: 0 / 344.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001089/0.05042, allocations: 89.5 kB / 344.7 MB, free: 9.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.05043, allocations: 4 kB / 344.7 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.05044, allocations: 4 kB / 344.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.05045, allocations: 0 / 344.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-05/0.05049, allocations: 11.98 kB / 344.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.0505, allocations: 0 / 344.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.05052, allocations: 8 kB / 344.7 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.05052, allocations: 4 kB / 344.7 MB, free: 9.523 MB / 330.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.032e-05/0.05058, allocations: 109.8 kB / 344.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.05059, allocations: 7.938 kB / 344.8 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.05075, allocations: 105.5 kB / 344.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.05075, allocations: 4 kB / 344.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.05076, allocations: 0 / 344.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.05076, allocations: 0 / 344.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.569e-05/0.05083, allocations: 125.2 kB / 345.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.05083, allocations: 4 kB / 345.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.05086, allocations: 11.98 kB / 345.1 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.05086, allocations: 7.938 kB / 345.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.05087, allocations: 0 / 345.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.05087, allocations: 4.062 kB / 345.1 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.05087, allocations: 4 kB / 345.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.05099, allocations: 109.9 kB / 345.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.05102, allocations: 19.86 kB / 345.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.05103, allocations: 0 / 345.2 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.05107, allocations: 4 kB / 345.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.05111, allocations: 7.984 kB / 345.2 MB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.05112, allocations: 8 kB / 345.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.059e-05/0.05117, allocations: 111.2 kB / 345.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05117, allocations: 0 / 345.4 MB, free: 8.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001138/0.0523, allocations: 0.9314 MB / 346.3 MB, free: 7.891 MB / 330.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.002549/0.05485, allocations: 1.495 MB / 347.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.05499, allocations: 43.97 kB / 347.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.055, allocations: 7.938 kB / 347.8 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.05503, allocations: 23.92 kB / 347.9 MB, free: 6.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.0552, allocations: 16.06 kB / 347.9 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.05554, allocations: 203.2 kB / 348.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.788e-05/0.05559, allocations: 79.19 kB / 348.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.05562, allocations: 16.5 kB / 348.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.05562, allocations: 0 / 348.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of Templates: time 0.1688/0.2244, allocations: 19.65 MB / 367.8 MB, free: 54 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.81590766645968]