Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.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.001539/0.001539, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001539/0.001539, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 51.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09545, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3614/0.4568, allocations: 152.6 MB / 0.5658 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.4601, allocations: 2.549 MB / 0.5683 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.4602, allocations: 4 kB / 0.5683 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.4603, allocations: 31.81 kB / 0.5684 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009997/0.4613, allocations: 334.2 kB / 0.5687 GB, free: 4.574 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.4615, allocations: 59.72 kB / 0.5687 GB, free: 4.516 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.4617, allocations: 103.3 kB / 0.5688 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.4617, allocations: 8 kB / 0.5689 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.4618, allocations: 39.84 kB / 0.5689 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.4619, allocations: 43.73 kB / 0.5689 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.4619, allocations: 0 / 0.5689 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009004/0.4628, allocations: 379.5 kB / 0.5693 GB, free: 3.953 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.4629, allocations: 3.938 kB / 0.5693 GB, free: 3.949 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.4629, allocations: 51.78 kB / 0.5693 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.4636, allocations: 312.4 kB / 0.5696 GB, free: 3.598 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4636, allocations: 0 / 0.5696 GB, free: 3.598 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4636, allocations: 0 / 0.5696 GB, free: 3.598 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4636, allocations: 7.938 kB / 0.5697 GB, free: 3.59 MB / 478.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.001104/0.4647, allocations: 466.7 kB / 0.5701 GB, free: 3.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4647, allocations: 8.031 kB / 0.5701 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/0.4717, allocations: 460.2 kB / 0.5705 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.4719, allocations: 179.4 kB / 0.5707 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.4719, allocations: 8 kB / 0.5707 GB, free: 2.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.472, allocations: 8 kB / 0.5707 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008793/0.4729, allocations: 293.3 kB / 0.571 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4729, allocations: 4 kB / 0.571 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.473, allocations: 4 kB / 0.571 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.473, allocations: 0 / 0.571 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.4739, allocations: 275.8 kB / 0.5713 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.4742, allocations: 254 kB / 0.5715 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.4747, allocations: 151.3 kB / 0.5717 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.4749, allocations: 80.81 kB / 0.5717 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.475, allocations: 4 kB / 0.5717 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.475, allocations: 39.19 kB / 0.5718 GB, free: 1.242 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.475, allocations: 0 / 0.5718 GB, free: 1.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.0025/0.4775, allocations: 0.585 MB / 0.5724 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4776, allocations: 55.41 kB / 0.5724 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4777, allocations: 105.8 kB / 0.5725 GB, free: 484 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.4777, allocations: 29.7 kB / 0.5725 GB, free: 448 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.4778, allocations: 92.56 kB / 0.5726 GB, free: 352 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4779, allocations: 79.28 kB / 0.5727 GB, free: 272 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.478, allocations: 45.69 kB / 0.5727 GB, free: 220 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.4782, allocations: 322.8 kB / 0.5731 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.4785, allocations: 95.94 kB / 0.5731 GB, free: 15.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.4789, allocations: 107.9 kB / 0.5732 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.4796, allocations: 227.7 kB / 0.5735 GB, free: 15.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4796, allocations: 0 / 0.5735 GB, free: 15.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000871/0.4805, allocations: 289.8 kB / 0.5737 GB, free: 15.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4805, allocations: 4 kB / 0.5737 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4805, allocations: 0 / 0.5737 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4805, allocations: 7.938 kB / 0.5738 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.481, allocations: 51.95 kB / 0.5738 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.481, allocations: 7.984 kB / 0.5738 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.4813, allocations: 13.05 kB / 0.5738 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.4814, allocations: 12 kB / 0.5738 GB, free: 15.09 MB / 494.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.0001341/0.4815, allocations: 121.8 kB / 0.574 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.4815, allocations: 11.95 kB / 0.574 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.4826, allocations: 350.2 kB / 0.5743 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4826, allocations: 7.938 kB / 0.5743 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4826, allocations: 9.188 kB / 0.5743 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4826, allocations: 4 kB / 0.5743 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4843, allocations: 0.7163 MB / 0.575 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4843, allocations: 4 kB / 0.575 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.4848, allocations: 55.89 kB / 0.5751 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.4848, allocations: 7.984 kB / 0.5751 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.4848, allocations: 8 kB / 0.5751 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.4848, allocations: 4.625 kB / 0.5751 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4848, allocations: 3.938 kB / 0.5751 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.4857, allocations: 415.9 kB / 0.5755 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4858, allocations: 94.19 kB / 0.5756 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.4858, allocations: 8 kB / 0.5756 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.4862, allocations: 11.98 kB / 0.5756 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.4862, allocations: 27.86 kB / 0.5756 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.4863, allocations: 11.98 kB / 0.5756 GB, free: 13.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.742e-05/0.4863, allocations: 97.77 kB / 0.5757 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4863, allocations: 0 / 0.5757 GB, free: 13.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003739/0.4867, allocations: 59.94 kB / 0.5758 GB, free: 12.96 MB / 494.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.0002431/0.487, allocations: 131.1 kB / 0.5759 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.4878, allocations: 243 kB / 0.5761 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4878, allocations: 0 / 0.5761 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.4882, allocations: 132.1 kB / 0.5763 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.4887, allocations: 55.98 kB / 0.5763 GB, free: 12.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.4897, allocations: 354.1 kB / 0.5767 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.49, allocations: 0.7047 MB / 0.5774 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002929/0.4903, allocations: 53.52 kB / 0.5774 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.4905, allocations: 47.34 kB / 0.5774 GB, free: 11.19 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4905, allocations: 0 / 0.5774 GB, free: 11.19 MB / 494.1 MB Notification: Performance of Templates: time 0.008588/0.4991, allocations: 4.149 MB / 0.5815 GB, free: 7.086 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.933861877769232]