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.001804/0.001804, allocations: 78.25 kB / 21.24 MB, free: 0.543 MB / 14.72 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.002231/0.002231, allocations: 162.1 kB / 24.5 MB, free: 3.719 MB / 14.72 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 1.52/1.52, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001935/0.001935, allocations: 61.95 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09257, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002371/0.09494, allocations: 1.365 MB / 380.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03016/0.1251, allocations: 21.16 MB / 401.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.1251, allocations: 0 / 401.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.1253, allocations: 7.938 kB / 401.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0149/0.1401, allocations: 5.96 MB / 407.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.141, allocations: 362.7 kB / 407.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1411, allocations: 79.62 kB / 407.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.877e-05/0.1412, allocations: 4 kB / 407.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.1412, allocations: 35.91 kB / 407.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.1413, allocations: 39.83 kB / 407.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1414, allocations: 7.984 kB / 407.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01603/0.1574, allocations: 8.379 MB / 416.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1574, allocations: 15.92 kB / 416.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.1575, allocations: 31.84 kB / 416.3 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00929/0.1668, allocations: 4.334 MB / 420.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1668, allocations: 0 / 420.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1668, allocations: 4 kB / 420.7 MB, free: 5.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1668, allocations: 0 / 420.7 MB, free: 5.598 MB / 382.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.001931/0.1687, allocations: 0.8602 MB / 421.5 MB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1688, allocations: 15.98 kB / 421.5 MB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.1688, allocations: 4.891 kB / 421.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.169, allocations: 146 kB / 421.7 MB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.169, allocations: 8 kB / 421.7 MB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.169, allocations: 4 kB / 421.7 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.1692, allocations: 122.7 kB / 421.8 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1693, allocations: 3.938 kB / 421.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1693, allocations: 7.984 kB / 421.8 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1693, allocations: 0 / 421.8 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1694, allocations: 39.91 kB / 421.9 MB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1696, allocations: 134.1 kB / 422 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1699, allocations: 97.16 kB / 422.1 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.032e-05/0.17, allocations: 33.77 kB / 422.1 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.17, allocations: 11.98 kB / 422.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.17, allocations: 34.56 kB / 422.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1701, allocations: 0 / 422.2 MB, free: 3.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000316/0.1704, allocations: 101.5 kB / 422.3 MB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1704, allocations: 81.11 kB / 422.4 MB, free: 3.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1706, allocations: 133.8 kB / 422.5 MB, free: 3.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1706, allocations: 29.7 kB / 422.5 MB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.1706, allocations: 92.08 kB / 422.6 MB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1707, allocations: 19.84 kB / 422.6 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.1707, allocations: 17.72 kB / 422.6 MB, free: 3.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1708, allocations: 318.8 kB / 423 MB, free: 3.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1709, allocations: 19.98 kB / 423 MB, free: 3.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.171, allocations: 29.7 kB / 423 MB, free: 3.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1711, allocations: 49.69 kB / 423.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1711, allocations: 0 / 423.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001939/0.1713, allocations: 81.61 kB / 423.1 MB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1713, allocations: 8 kB / 423.1 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1713, allocations: 480 / 423.1 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1713, allocations: 4 kB / 423.1 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.1714, allocations: 11.98 kB / 423.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1714, allocations: 0 / 423.2 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.1714, allocations: 11.89 kB / 423.2 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1714, allocations: 0 / 423.2 MB, free: 2.871 MB / 382.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 9.206e-05/0.1715, allocations: 121.7 kB / 423.3 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.1716, allocations: 4.375 kB / 423.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.1718, allocations: 105.6 kB / 423.4 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1718, allocations: 4 kB / 423.4 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1718, allocations: 0 / 423.4 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1718, allocations: 3.938 kB / 423.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1719, allocations: 129.2 kB / 423.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1719, allocations: 0 / 423.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.172, allocations: 19.92 kB / 423.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.172, allocations: 128 / 423.5 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.172, allocations: 8 kB / 423.6 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.172, allocations: 0 / 423.6 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.172, allocations: 0 / 423.6 MB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1722, allocations: 117.8 kB / 423.7 MB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.1723, allocations: 15.94 kB / 423.7 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1723, allocations: 0 / 423.7 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1724, allocations: 4 kB / 423.7 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1724, allocations: 7.984 kB / 423.7 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1724, allocations: 4 kB / 423.7 MB, free: 2.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.271e-05/0.1725, allocations: 111.2 kB / 423.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 0 / 423.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00207/0.1746, allocations: 0.9586 MB / 424.8 MB, free: 1.203 MB / 382.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.003616/0.1782, allocations: 1.324 MB / 426.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1784, allocations: 47.81 kB / 426.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1784, allocations: 0 / 426.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.1785, allocations: 23.98 kB / 426.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1787, allocations: 23.97 kB / 426.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.1792, allocations: 196.7 kB / 426.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.669e-05/0.1792, allocations: 75.31 kB / 426.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.1793, allocations: 12.34 kB / 426.5 MB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.1793, allocations: 16.5 kB / 426.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1793, allocations: 4 kB / 426.5 MB, free: 15.42 MB / 398.1 MB Notification: Performance of Templates: time 0.04093/0.2203, allocations: 27.34 MB / 453.8 MB, free: 4.062 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.635324044968002]