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.0009748/0.0009748, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.0009868/0.0009868, allocations: 168.3 kB / 24.82 MB, free: 8.773 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.9131/0.9131, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.112e-06/1.112e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052e-05/1.163e-05, allocations: 2.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001695/0.001707, allocations: 1.407 MB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.121/0.1227, allocations: 22.99 MB / 297.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.1227, allocations: 1.438 kB / 297.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1228, allocations: 8.703 kB / 297.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.1332, allocations: 6.034 MB / 303.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.1336, allocations: 368 kB / 304.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.038e-05/0.1337, allocations: 78.92 kB / 304.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.1338, allocations: 6.562 kB / 304.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/0.1338, allocations: 41.59 kB / 304.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.1339, allocations: 39.22 kB / 304.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1339, allocations: 3.281 kB / 304.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/0.1444, allocations: 8.428 MB / 312.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.1445, allocations: 9.703 kB / 312.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.1445, allocations: 24.67 kB / 312.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.15, allocations: 5.503 MB / 318.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.15, allocations: 0 / 318.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.15, allocations: 0 / 318.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.15, allocations: 3.938 kB / 318.3 MB, free: 3.992 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.001155/0.1511, allocations: 0.9676 MB / 319.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1512, allocations: 8.031 kB / 319.3 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.1512, allocations: 16.83 kB / 319.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.091e-05/0.1513, allocations: 132.5 kB / 319.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1513, allocations: 0.75 kB / 319.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1513, allocations: 4 kB / 319.4 MB, free: 2.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1514, allocations: 133.1 kB / 319.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1514, allocations: 0 / 319.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.1514, allocations: 0 / 319.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1514, allocations: 0 / 319.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.1515, allocations: 15.92 kB / 319.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.1516, allocations: 116.9 kB / 319.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.1517, allocations: 86.19 kB / 319.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.1517, allocations: 23.44 kB / 319.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.1518, allocations: 14.2 kB / 319.8 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.1518, allocations: 41.39 kB / 319.9 MB, free: 2.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1518, allocations: 2.438 kB / 319.9 MB, free: 2.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001362/0.1519, allocations: 73.5 kB / 319.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.556e-05/0.152, allocations: 77.11 kB / 320 MB, free: 2.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.152, allocations: 187.6 kB / 320.2 MB, free: 1.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.673e-06/0.152, allocations: 25.7 kB / 320.2 MB, free: 1.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.152, allocations: 134.9 kB / 320.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.1521, allocations: 23.77 kB / 320.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1521, allocations: 23.38 kB / 320.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.034e-05/0.1521, allocations: 0.4923 MB / 320.9 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.1521, allocations: 7.938 kB / 320.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.1522, allocations: 23.36 kB / 320.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.058e-05/0.1522, allocations: 31.38 kB / 321 MB, free: 1.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1522, allocations: 4 kB / 321 MB, free: 1.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.178e-05/0.1523, allocations: 69.45 kB / 321 MB, free: 1.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.1523, allocations: 4 kB / 321 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1523, allocations: 4.812 kB / 321 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1523, allocations: 4 kB / 321 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/0.1524, allocations: 8 kB / 321 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.1524, allocations: 0 / 321 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.653e-05/0.1524, allocations: 4 kB / 321.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1524, allocations: 5.953 kB / 321.1 MB, free: 1 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.897e-05/0.1524, allocations: 168.5 kB / 321.2 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.1524, allocations: 7.953 kB / 321.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.1526, allocations: 69.61 kB / 321.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1526, allocations: 0 / 321.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.1526, allocations: 5.625 kB / 321.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1526, allocations: 3.984 kB / 321.3 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.23e-05/0.1526, allocations: 113.1 kB / 321.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1526, allocations: 0 / 321.4 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1527, allocations: 15.92 kB / 321.4 MB, free: 0.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1527, allocations: 4 kB / 321.4 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1527, allocations: 8 kB / 321.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1527, allocations: 0 / 321.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1527, allocations: 3.938 kB / 321.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.039e-05/0.1527, allocations: 99.06 kB / 321.5 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.1528, allocations: 11.94 kB / 321.6 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1528, allocations: 4 kB / 321.6 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.1528, allocations: 4 kB / 321.6 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.1529, allocations: 15.86 kB / 321.6 MB, free: 420 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1529, allocations: 0 / 321.6 MB, free: 420 kB / 266.7 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.1529, allocations: 143.2 kB / 321.7 MB, free: 276 kB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1529, allocations: 4 kB / 321.7 MB, free: 272 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.001428/0.1543, allocations: 0.9586 MB / 322.7 MB, free: 15.3 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.002969/0.1573, allocations: 1.496 MB / 324.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.1574, allocations: 36.22 kB / 324.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1574, allocations: 4 kB / 324.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.701e-05/0.1574, allocations: 15.69 kB / 324.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.1576, allocations: 27.03 kB / 324.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.1581, allocations: 194.8 kB / 324.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.1582, allocations: 55.36 kB / 324.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.1582, allocations: 19.97 kB / 324.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.703e-05/0.1583, allocations: 90.19 kB / 324.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1583, allocations: 3.938 kB / 324.6 MB, free: 13.31 MB / 282.7 MB Notification: Performance of Templates: time 0.03617/0.1945, allocations: 32.6 MB / 357.2 MB, free: 12.71 MB / 314.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: 4.525130980182439]