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.0008298/0.0008298, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004087/0.004087, allocations: 160.5 kB / 24.7 MB, free: 9.43 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.8214/0.8214, allocations: 177.1 MB / 205 MB, free: 5.719 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.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 1.513e-06/1.513e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.34e-05, allocations: 4.531 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2623/0.2624, allocations: 131.3 MB / 457.1 MB, free: 6.215 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.264, allocations: 2.261 MB / 459.4 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.264, allocations: 2.188 kB / 459.4 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.2642, allocations: 23.69 kB / 459.4 MB, free: 6.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.2649, allocations: 346.7 kB / 459.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.265, allocations: 64.73 kB / 459.8 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2651, allocations: 110.6 kB / 459.9 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2652, allocations: 4.188 kB / 459.9 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.2653, allocations: 58.72 kB / 460 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.659e-05/0.2653, allocations: 31.48 kB / 460 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2653, allocations: 3.656 kB / 460 MB, free: 6.203 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.2658, allocations: 354.5 kB / 460.4 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.2658, allocations: 9.734 kB / 460.4 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.2658, allocations: 29.19 kB / 460.4 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.2662, allocations: 360.9 kB / 460.8 MB, free: 6.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2662, allocations: 2.969 kB / 460.8 MB, free: 6.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2662, allocations: 0.9688 kB / 460.8 MB, free: 6.176 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.2662, allocations: 0 / 460.8 MB, free: 6.176 MB / 410.7 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.000589/0.2668, allocations: 389 kB / 461.1 MB, free: 5.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2668, allocations: 9.188 kB / 461.2 MB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.2695, allocations: 485.6 kB / 461.6 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.7e-05/0.2696, allocations: 115.6 kB / 461.7 MB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2696, allocations: 11.22 kB / 461.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.2697, allocations: 12.27 kB / 461.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.2701, allocations: 301.5 kB / 462.1 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2701, allocations: 0 / 462.1 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.2701, allocations: 3.938 kB / 462.1 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2701, allocations: 1.203 kB / 462.1 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.2706, allocations: 278.3 kB / 462.3 MB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.2707, allocations: 178.6 kB / 462.5 MB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.2709, allocations: 150.6 kB / 462.7 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2711, allocations: 86.39 kB / 462.7 MB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.2711, allocations: 4.719 kB / 462.7 MB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.2711, allocations: 33.44 kB / 462.8 MB, free: 5.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 9.02e-07/0.2711, allocations: 0.7812 kB / 462.8 MB, free: 5.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.001124/0.2722, allocations: 0.5799 MB / 463.4 MB, free: 5.418 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.2722, allocations: 55.83 kB / 463.4 MB, free: 5.355 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.789e-05/0.2723, allocations: 110 kB / 463.5 MB, free: 5.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.2723, allocations: 30.2 kB / 463.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.421e-05/0.2723, allocations: 84.02 kB / 463.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.2723, allocations: 87.34 kB / 463.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.2724, allocations: 45.59 kB / 463.8 MB, free: 5.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.761e-05/0.2724, allocations: 329.2 kB / 464.1 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.2726, allocations: 96.08 kB / 464.2 MB, free: 4.758 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2727, allocations: 107.8 kB / 464.3 MB, free: 4.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.273, allocations: 227.2 kB / 464.5 MB, free: 4.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.273, allocations: 2.844 kB / 464.5 MB, free: 4.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003713/0.2734, allocations: 281.1 kB / 464.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2734, allocations: 4.188 kB / 464.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2734, allocations: 6.922 kB / 464.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2734, allocations: 0 / 464.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.2736, allocations: 57.61 kB / 464.8 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2736, allocations: 4.984 kB / 464.9 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2738, allocations: 11.34 kB / 464.9 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2738, allocations: 16.06 kB / 464.9 MB, free: 4.703 MB / 410.7 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 6.445e-05/0.2738, allocations: 124 kB / 465 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.2739, allocations: 13.98 kB / 465 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.2743, allocations: 352.4 kB / 465.4 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2743, allocations: 2 kB / 465.4 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2744, allocations: 0 / 465.4 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2744, allocations: 4.312 kB / 465.4 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.2751, allocations: 0.6263 MB / 466 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2751, allocations: 3.875 kB / 466 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.2753, allocations: 56.09 kB / 466.1 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2753, allocations: 4.812 kB / 466.1 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.2753, allocations: 14.89 kB / 466.1 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.2753, allocations: 7.906 kB / 466.1 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2753, allocations: 6.469 kB / 466.1 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.2757, allocations: 407.3 kB / 466.5 MB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.2757, allocations: 14.41 kB / 466.5 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.2757, allocations: 14.48 kB / 466.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2758, allocations: 17.91 kB / 466.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.2759, allocations: 17.33 kB / 466.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.2759, allocations: 15.44 kB / 466.6 MB, free: 4.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.788e-05/0.2759, allocations: 86.73 kB / 466.6 MB, free: 3.988 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2759, allocations: 0 / 466.6 MB, free: 3.988 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.2761, allocations: 60.83 kB / 466.7 MB, free: 3.984 MB / 410.7 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.0001991/0.2763, allocations: 132.1 kB / 466.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.2767, allocations: 243.7 kB / 467.1 MB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2767, allocations: 0 / 467.1 MB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.2769, allocations: 128.4 kB / 467.2 MB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2772, allocations: 57.17 kB / 467.3 MB, free: 3.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.2778, allocations: 364.2 kB / 467.6 MB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.2778, allocations: 94.33 kB / 467.7 MB, free: 3.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2779, allocations: 43.98 kB / 467.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.2779, allocations: 0 / 467.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of Templates: time 0.003172/0.2811, allocations: 2.986 MB / 470.7 MB, free: 3.477 MB / 410.7 MB " [Timeout remaining time 660] 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.2081062234938145]