Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.001773/0.001773, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.002268/0.002268, allocations: 215.2 kB / 23 MB, free: 5.609 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.428/1.428, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 59.91 kB / 376.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2323, allocations: 53.33 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3932/0.6255, allocations: 152.7 MB / 0.5688 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.6275, allocations: 2.56 MB / 0.5713 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.6275, allocations: 4 kB / 0.5713 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.6276, allocations: 30.55 kB / 0.5713 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.6284, allocations: 333 kB / 0.5716 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.6286, allocations: 62.06 kB / 0.5717 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.6287, allocations: 105.8 kB / 0.5718 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.6287, allocations: 7.156 kB / 0.5718 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.6288, allocations: 40.55 kB / 0.5719 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.6289, allocations: 37.38 kB / 0.5719 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.6289, allocations: 2.531 kB / 0.5719 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.6295, allocations: 378.2 kB / 0.5723 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.6295, allocations: 13 kB / 0.5723 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.6295, allocations: 37.12 kB / 0.5723 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.6299, allocations: 312.5 kB / 0.5726 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.6299, allocations: 2.188 kB / 0.5726 GB, free: 12.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.6299, allocations: 1.203 kB / 0.5726 GB, free: 12.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.6299, allocations: 7.219 kB / 0.5726 GB, free: 12.8 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009482/0.6309, allocations: 463.8 kB / 0.5731 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.6309, allocations: 9.594 kB / 0.5731 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005933/0.6368, allocations: 465.1 kB / 0.5735 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.637, allocations: 181.8 kB / 0.5737 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.637, allocations: 4.109 kB / 0.5737 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.6371, allocations: 8.562 kB / 0.5737 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.6378, allocations: 297.4 kB / 0.574 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.6378, allocations: 3.5 kB / 0.574 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.6379, allocations: 5.781 kB / 0.574 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6379, allocations: 3.344 kB / 0.574 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.6386, allocations: 277.2 kB / 0.5742 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.6389, allocations: 249.4 kB / 0.5745 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.6393, allocations: 144.8 kB / 0.5746 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.6395, allocations: 88.03 kB / 0.5747 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.6395, allocations: 4.75 kB / 0.5747 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6395, allocations: 37.16 kB / 0.5747 GB, free: 11.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.6395, allocations: 0 / 0.5747 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002019/0.6415, allocations: 0.577 MB / 0.5753 GB, free: 11.78 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.6416, allocations: 58.03 kB / 0.5754 GB, free: 11.71 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.6417, allocations: 113.1 kB / 0.5755 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.6417, allocations: 29.02 kB / 0.5755 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.6417, allocations: 86.92 kB / 0.5756 GB, free: 11.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.124e-05/0.6418, allocations: 81.7 kB / 0.5757 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.6419, allocations: 42.84 kB / 0.5757 GB, free: 11.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.6421, allocations: 324.2 kB / 0.576 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.6423, allocations: 102.7 kB / 0.5761 GB, free: 11.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.6426, allocations: 103.6 kB / 0.5762 GB, free: 11.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.6431, allocations: 227.3 kB / 0.5764 GB, free: 11.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6431, allocations: 4 kB / 0.5764 GB, free: 11.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006523/0.6438, allocations: 284.5 kB / 0.5767 GB, free: 11.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.6438, allocations: 2.781 kB / 0.5767 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6438, allocations: 2.094 kB / 0.5767 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6438, allocations: 0 / 0.5767 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.6443, allocations: 66.98 kB / 0.5768 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.6443, allocations: 3.938 kB / 0.5768 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.6445, allocations: 9.969 kB / 0.5768 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.6446, allocations: 16.19 kB / 0.5768 GB, free: 11.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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 0.0001168/0.6447, allocations: 120.4 kB / 0.5769 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.6447, allocations: 16.66 kB / 0.5769 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008472/0.6456, allocations: 351.4 kB / 0.5773 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6456, allocations: 13.41 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6456, allocations: 0.625 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6456, allocations: 1.922 kB / 0.5773 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.647, allocations: 0.7199 MB / 0.578 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.647, allocations: 1.875 kB / 0.578 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.6474, allocations: 59.45 kB / 0.578 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6474, allocations: 2.719 kB / 0.578 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6475, allocations: 10.5 kB / 0.5781 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6475, allocations: 9 kB / 0.5781 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6475, allocations: 4 kB / 0.5781 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00073/0.6482, allocations: 411.1 kB / 0.5785 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.6483, allocations: 90.39 kB / 0.5785 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.6483, allocations: 8.25 kB / 0.5786 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.6486, allocations: 15.73 kB / 0.5786 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.6487, allocations: 25.39 kB / 0.5786 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.6487, allocations: 13.53 kB / 0.5786 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.489e-05/0.6488, allocations: 86.84 kB / 0.5787 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6488, allocations: 0 / 0.5787 GB, free: 10.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.6491, allocations: 61.09 kB / 0.5787 GB, free: 10.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002101/0.6493, allocations: 129.6 kB / 0.5789 GB, free: 9.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.65, allocations: 237.9 kB / 0.5791 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.65, allocations: 0 / 0.5791 GB, free: 9.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.6503, allocations: 133.6 kB / 0.5792 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.6508, allocations: 62.34 kB / 0.5793 GB, free: 9.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.6517, allocations: 350.2 kB / 0.5796 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.652, allocations: 0.7061 MB / 0.5803 GB, free: 9.059 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.6523, allocations: 62.31 kB / 0.5804 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.6525, allocations: 38 kB / 0.5804 GB, free: 9.016 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6525, allocations: 0 / 0.5804 GB, free: 9.016 MB / 462.1 MB Notification: Performance of Templates: time 0.007599/0.6601, allocations: 4.251 MB / 0.5846 GB, free: 7.121 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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: 4.746433958411217]