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.001226/0.001226, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001526/0.001526, allocations: 167.5 kB / 24.99 MB, free: 8.355 MB / 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 0.9646/0.9646, allocations: 177.1 MB / 205.3 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] 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.903e-06/1.903e-06, allocations: 0 / 273 MB, free: 1.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.743e-05, allocations: 2.312 kB / 273 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002373/0.00239, allocations: 1.408 MB / 274.5 MB, free: 472 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1263/0.1287, allocations: 23.3 MB / 297.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.1287, allocations: 0 / 297.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.1289, allocations: 7.547 kB / 297.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.1396, allocations: 6.017 MB / 303.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005202/0.1401, allocations: 376.7 kB / 304.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1402, allocations: 80.08 kB / 304.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.1402, allocations: 1.625 kB / 304.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.1403, allocations: 43.59 kB / 304.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.1404, allocations: 41.72 kB / 304.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1404, allocations: 3.5 kB / 304.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008562/0.149, allocations: 8.414 MB / 312.7 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.149, allocations: 16.11 kB / 312.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.149, allocations: 21.08 kB / 312.8 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.1539, allocations: 5.507 MB / 318.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1539, allocations: 0 / 318.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1539, allocations: 0 / 318.3 MB, free: 4.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1539, allocations: 0 / 318.3 MB, free: 4.09 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.001533/0.1555, allocations: 0.9598 MB / 319.2 MB, free: 3.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1555, allocations: 12.03 kB / 319.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.1556, allocations: 11.8 kB / 319.2 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.1557, allocations: 136.4 kB / 319.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1557, allocations: 8.688 kB / 319.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1557, allocations: 4 kB / 319.4 MB, free: 2.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1558, allocations: 137.1 kB / 319.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1558, allocations: 0 / 319.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1558, allocations: 0 / 319.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1558, allocations: 0 / 319.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.939e-05/0.1559, allocations: 15.92 kB / 319.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000121/0.156, allocations: 136.4 kB / 319.7 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1562, allocations: 86.2 kB / 319.8 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.1562, allocations: 31.38 kB / 319.8 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.1563, allocations: 11.98 kB / 319.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.1563, allocations: 41.33 kB / 319.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1563, allocations: 0 / 319.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001686/0.1565, allocations: 77.45 kB / 319.9 MB, free: 2.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1565, allocations: 77.11 kB / 320 MB, free: 2.164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.1565, allocations: 186.7 kB / 320.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.1565, allocations: 25.7 kB / 320.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.1566, allocations: 142.8 kB / 320.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.1566, allocations: 15.84 kB / 320.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.1566, allocations: 23.38 kB / 320.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.1567, allocations: 0.4923 MB / 320.9 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.1567, allocations: 4 kB / 320.9 MB, free: 1.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.161e-05/0.1567, allocations: 23.36 kB / 320.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.1567, allocations: 39.31 kB / 320.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1567, allocations: 0 / 320.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.95e-05/0.1568, allocations: 73.56 kB / 321 MB, free: 1.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1568, allocations: 7.938 kB / 321 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1568, allocations: 1.5 kB / 321 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1568, allocations: 0 / 321 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.1569, allocations: 12 kB / 321 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1569, allocations: 0 / 321 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1569, allocations: 4 kB / 321 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1569, allocations: 4 kB / 321 MB, free: 1.051 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 3.835e-05/0.157, allocations: 160.6 kB / 321.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.157, allocations: 15.89 kB / 321.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1571, allocations: 76.42 kB / 321.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1571, allocations: 7.938 kB / 321.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1571, allocations: 1.375 kB / 321.3 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1571, allocations: 3.984 kB / 321.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.263e-05/0.1571, allocations: 124.6 kB / 321.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.1571, allocations: 0 / 321.4 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.1572, allocations: 15.98 kB / 321.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1572, allocations: 0 / 321.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1572, allocations: 7.938 kB / 321.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1572, allocations: 3.938 kB / 321.4 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1572, allocations: 4 kB / 321.4 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.1572, allocations: 107.5 kB / 321.6 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.1573, allocations: 11.94 kB / 321.6 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1573, allocations: 7.938 kB / 321.6 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.1573, allocations: 7.984 kB / 321.6 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1574, allocations: 7.984 kB / 321.6 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1574, allocations: 0 / 321.6 MB, free: 440 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.1574, allocations: 144.2 kB / 321.7 MB, free: 296 kB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1574, allocations: 0 / 321.7 MB, free: 296 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001283/0.1587, allocations: 0.9586 MB / 322.7 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.002462/0.1611, allocations: 1.469 MB / 324.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1612, allocations: 36.28 kB / 324.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1612, allocations: 4 kB / 324.2 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.1613, allocations: 23.62 kB / 324.2 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.0001668/0.1614, allocations: 25.73 kB / 324.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005378/0.162, allocations: 186.9 kB / 324.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.162, allocations: 55.36 kB / 324.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.624e-05/0.162, allocations: 19.97 kB / 324.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.1621, allocations: 20.5 kB / 324.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1621, allocations: 0 / 324.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of Templates: time 0.02504/0.1871, allocations: 28.22 MB / 352.7 MB, free: 1.207 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3312940071336925]