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.0007629/0.0007629, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001092/0.001855, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000697/0.000697, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009565/0.001653, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8992/0.8992, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08129/0.9805, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.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.352e-06/1.352e-06, allocations: 0 / 244.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.268e-06/1.062e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2316/0.2316, allocations: 145.1 MB / 389.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2337, allocations: 2.552 MB / 392.3 MB, free: 5.047 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.2338, allocations: 4 kB / 392.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.669e-05/0.2338, allocations: 22.52 kB / 392.3 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006667/0.2345, allocations: 345.7 kB / 392.7 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.2346, allocations: 63.66 kB / 392.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2347, allocations: 107.3 kB / 392.8 MB, free: 4.527 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.2348, allocations: 3.984 kB / 392.8 MB, free: 4.523 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2349, allocations: 71.75 kB / 392.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.235, allocations: 23.92 kB / 392.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.088e-06/0.235, allocations: 0 / 392.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.2355, allocations: 376.2 kB / 393.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.2355, allocations: 11.94 kB / 393.3 MB, free: 4.055 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.2355, allocations: 23.94 kB / 393.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.2359, allocations: 299.2 kB / 393.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.2359, allocations: 0 / 393.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2359, allocations: 0 / 393.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2359, allocations: 0 / 393.6 MB, free: 3.738 MB / 362.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.0005477/0.2364, allocations: 473.6 kB / 394.1 MB, free: 3.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.2365, allocations: 16.03 kB / 394.1 MB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/0.239, allocations: 0.5167 MB / 394.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2392, allocations: 129.8 kB / 394.8 MB, free: 2.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2392, allocations: 11.94 kB / 394.8 MB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.2392, allocations: 7.984 kB / 394.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.2395, allocations: 270 kB / 395 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2395, allocations: 0 / 395 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.2395, allocations: 0 / 395 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2395, allocations: 4 kB / 395 MB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2397, allocations: 157.4 kB / 395.2 MB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.2401, allocations: 258.2 kB / 395.5 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.2404, allocations: 130.4 kB / 395.6 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.2404, allocations: 36.86 kB / 395.6 MB, free: 1.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.2404, allocations: 8.609 kB / 395.6 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2405, allocations: 34.56 kB / 395.7 MB, free: 1.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.2405, allocations: 0 / 395.7 MB, free: 1.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005033/0.241, allocations: 256.8 kB / 395.9 MB, free: 1.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.241, allocations: 55.41 kB / 396 MB, free: 1.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.241, allocations: 130.6 kB / 396.1 MB, free: 1.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2411, allocations: 25.7 kB / 396.1 MB, free: 1.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.2411, allocations: 99.97 kB / 396.2 MB, free: 1.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.2411, allocations: 59.47 kB / 396.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.2412, allocations: 45.62 kB / 396.3 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.2413, allocations: 326.8 kB / 396.6 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.2413, allocations: 35.98 kB / 396.7 MB, free: 0.543 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.2414, allocations: 64.27 kB / 396.7 MB, free: 476 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.2415, allocations: 121.9 kB / 396.9 MB, free: 340 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2415, allocations: 0 / 396.9 MB, free: 340 kB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001503/0.2416, allocations: 147 kB / 397 MB, free: 188 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2416, allocations: 7.938 kB / 397 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2416, allocations: 5.312 kB / 397 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.2416, allocations: 0 / 397 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2418, allocations: 55.94 kB / 397.1 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.2418, allocations: 7.938 kB / 397.1 MB, free: 112 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.2419, allocations: 8.125 kB / 397.1 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.2419, allocations: 15.98 kB / 397.1 MB, free: 88 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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 7.901e-05/0.242, allocations: 113.8 kB / 397.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.242, allocations: 15.98 kB / 397.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2423, allocations: 180.5 kB / 397.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2423, allocations: 9.688 kB / 397.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.2423, allocations: 0 / 397.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2423, allocations: 0 / 397.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.2426, allocations: 349.4 kB / 397.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2427, allocations: 8.062 kB / 397.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.2428, allocations: 47.89 kB / 397.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.2428, allocations: 7.953 kB / 397.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2428, allocations: 4 kB / 397.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2428, allocations: 7.984 kB / 397.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2428, allocations: 4.703 kB / 397.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2428, allocations: 0 / 397.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.243, allocations: 238.9 kB / 398.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.243, allocations: 4 kB / 398.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.2431, allocations: 16.86 kB / 398.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.2431, allocations: 11.92 kB / 398.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2431, allocations: 15.98 kB / 398.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.612e-05/0.2431, allocations: 16.84 kB / 398.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2431, allocations: 0 / 398.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001884/0.2433, allocations: 47.98 kB / 398.2 MB, free: 14.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001552/0.2435, allocations: 108.3 kB / 398.3 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.2436, allocations: 113.5 kB / 398.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2436, allocations: 4 kB / 398.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.2437, allocations: 93.05 kB / 398.5 MB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.2442, allocations: 177.3 kB / 398.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.2456, allocations: 284.5 kB / 398.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.641e-05/0.2456, allocations: 68 kB / 399 MB, free: 14.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.2458, allocations: 61.45 kB / 399.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.246, allocations: 95.33 kB / 399.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.246, allocations: 0 / 399.2 MB, free: 13.88 MB / 378.7 MB Notification: Performance of Templates: time 0.004814/0.2508, allocations: 4.015 MB / 403.2 MB, free: 9.934 MB / 378.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.615694450214505]