Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002625, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002413, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8741/0.8741, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07413/0.9483, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.972e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002754/0.002774, allocations: 1.453 MB / 246.5 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02236/0.02514, allocations: 23.42 MB / 269.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.02517, allocations: 0 / 269.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.456e-05/0.02524, allocations: 11.86 kB / 269.9 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1095/0.1348, allocations: 5.489 MB / 275.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.1354, allocations: 359.7 kB / 275.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1355, allocations: 80.59 kB / 275.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.1355, allocations: 6.141 kB / 275.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.182e-05/0.1356, allocations: 50.58 kB / 275.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.1357, allocations: 36.34 kB / 275.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1357, allocations: 3.562 kB / 275.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.1475, allocations: 8.929 MB / 284.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.1476, allocations: 12.95 kB / 284.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.1476, allocations: 14.19 kB / 284.9 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008681/0.1563, allocations: 4.22 MB / 289.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.776e-05/0.1563, allocations: 0.6875 kB / 289.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1563, allocations: 0 / 289.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.1563, allocations: 0.5625 kB / 289.1 MB, free: 2.23 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.002418/0.1587, allocations: 1.197 MB / 290.3 MB, free: 17.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1588, allocations: 9.25 kB / 290.3 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.1588, allocations: 9.078 kB / 290.3 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1589, allocations: 131.1 kB / 290.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1589, allocations: 4.875 kB / 290.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1589, allocations: 9 kB / 290.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1591, allocations: 125.8 kB / 290.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1591, allocations: 0 / 290.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1591, allocations: 7.594 kB / 290.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1591, allocations: 0 / 290.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.1591, allocations: 13.28 kB / 290.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.273e-05/0.1592, allocations: 82.06 kB / 290.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.1594, allocations: 74.56 kB / 290.7 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.1594, allocations: 17.97 kB / 290.7 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.1594, allocations: 15.33 kB / 290.8 MB, free: 17.23 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1594, allocations: 34.47 kB / 290.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1594, allocations: 0 / 290.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001157/0.1596, allocations: 61.22 kB / 290.9 MB, free: 17.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.1596, allocations: 84.7 kB / 290.9 MB, free: 17.06 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.1597, allocations: 135.8 kB / 291.1 MB, free: 16.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.1597, allocations: 28.14 kB / 291.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.948e-05/0.1597, allocations: 86.17 kB / 291.2 MB, free: 16.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1597, allocations: 19.59 kB / 291.2 MB, free: 16.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.1597, allocations: 25.14 kB / 291.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.1598, allocations: 319.1 kB / 291.5 MB, free: 16.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.1598, allocations: 9.766 kB / 291.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.57e-05/0.1598, allocations: 15.88 kB / 291.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.1599, allocations: 44.34 kB / 291.6 MB, free: 16.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1599, allocations: 0 / 291.6 MB, free: 16.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.244e-05/0.1599, allocations: 53.95 kB / 291.7 MB, free: 16.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1599, allocations: 11.53 kB / 291.7 MB, free: 16.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1599, allocations: 0 / 291.7 MB, free: 16.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.876e-06/0.1599, allocations: 1.078 kB / 291.7 MB, free: 16.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.16, allocations: 15.91 kB / 291.7 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.16, allocations: 0.9375 kB / 291.7 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.16, allocations: 4.906 kB / 291.7 MB, free: 16.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.16, allocations: 3.188 kB / 291.7 MB, free: 16.4 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 4.719e-05/0.1601, allocations: 115.6 kB / 291.8 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.1601, allocations: 7.094 kB / 291.8 MB, free: 16.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.873e-05/0.1602, allocations: 70.17 kB / 291.9 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1602, allocations: 3.031 kB / 291.9 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1602, allocations: 3.938 kB / 291.9 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1602, allocations: 2.75 kB / 291.9 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.067e-05/0.1602, allocations: 81.97 kB / 292 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1602, allocations: 0 / 292 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.1603, allocations: 8.438 kB / 292 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.1603, allocations: 15.72 kB / 292 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1603, allocations: 5.062 kB / 292 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.1603, allocations: 1.312 kB / 292 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1603, allocations: 0 / 292 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1603, allocations: 8.594 kB / 292 MB, free: 16.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.162e-05/0.1604, allocations: 93.94 kB / 292.1 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1604, allocations: 4.531 kB / 292.1 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.1604, allocations: 1.75 kB / 292.1 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1604, allocations: 9.984 kB / 292.1 MB, free: 16.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1604, allocations: 8.969 kB / 292.1 MB, free: 16.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.076e-05/0.1605, allocations: 29.84 kB / 292.2 MB, free: 16.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1605, allocations: 0 / 292.2 MB, free: 16.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00198/0.1624, allocations: 0.9577 MB / 293.1 MB, free: 15.86 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.003034/0.1655, allocations: 1.535 MB / 294.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.1656, allocations: 28.17 kB / 294.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.1656, allocations: 2.938 kB / 294.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.1656, allocations: 18 kB / 294.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.1657, allocations: 34.17 kB / 294.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1669, allocations: 199.3 kB / 294.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.233e-05/0.1669, allocations: 55.22 kB / 295 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.851e-05/0.1669, allocations: 17.12 kB / 295 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.167, allocations: 72.89 kB / 295.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.167, allocations: 0 / 295.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Templates: time 0.0299/0.1969, allocations: 31.93 MB / 327 MB, free: 15.76 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.368873503990471]