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.001137/0.001137, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001174/0.001174, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 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 0.9502/0.9502, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.116e-05/2.259e-05, allocations: 6.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2294/0.2294, allocations: 142.5 MB / 415.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2312, allocations: 2.528 MB / 418.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.2312, allocations: 0 / 418.3 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2313, allocations: 26.09 kB / 418.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.2319, allocations: 345.2 kB / 418.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.232, allocations: 63.66 kB / 418.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.2321, allocations: 111.3 kB / 418.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.2322, allocations: 8 kB / 418.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2323, allocations: 67.75 kB / 418.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.2323, allocations: 27.91 kB / 419 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.2324, allocations: 0 / 419 MB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.2328, allocations: 347.3 kB / 419.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2328, allocations: 11.92 kB / 419.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2328, allocations: 27.92 kB / 419.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.2331, allocations: 347.1 kB / 419.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2332, allocations: 3.938 kB / 419.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2332, allocations: 0 / 419.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.2332, allocations: 4 kB / 419.7 MB, free: 14.57 MB / 378.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.000484/0.2336, allocations: 489 kB / 420.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.2337, allocations: 11.98 kB / 420.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.2366, allocations: 461.1 kB / 420.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2368, allocations: 164.6 kB / 420.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.2368, allocations: 7.938 kB / 420.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.2369, allocations: 8 kB / 420.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.2372, allocations: 266.6 kB / 421.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2372, allocations: 4.812 kB / 421.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.2373, allocations: 4 kB / 421.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2373, allocations: 0 / 421.1 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.2375, allocations: 202.5 kB / 421.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.238, allocations: 377 kB / 421.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.2383, allocations: 143 kB / 421.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.2383, allocations: 55.59 kB / 421.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2383, allocations: 8 kB / 421.8 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.2384, allocations: 37.39 kB / 421.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.002e-06/0.2384, allocations: 0 / 421.9 MB, free: 12.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005664/0.2389, allocations: 295.6 kB / 422.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.2389, allocations: 59.41 kB / 422.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.239, allocations: 181.8 kB / 422.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.239, allocations: 37.7 kB / 422.4 MB, free: 11.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.2391, allocations: 138.8 kB / 422.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.2391, allocations: 67.42 kB / 422.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.2392, allocations: 51.33 kB / 422.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.2393, allocations: 0.4923 MB / 423.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.2393, allocations: 42.03 kB / 423.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.2394, allocations: 94.33 kB / 423.3 MB, free: 10.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.2395, allocations: 157.2 kB / 423.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2395, allocations: 0 / 423.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002017/0.2397, allocations: 173.5 kB / 423.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2397, allocations: 7.938 kB / 423.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2398, allocations: 4.125 kB / 423.6 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.2398, allocations: 4 kB / 423.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2399, allocations: 47.95 kB / 423.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2399, allocations: 4 kB / 423.7 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-05/0.24, allocations: 4 kB / 423.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.24, allocations: 15.98 kB / 423.7 MB, free: 10.31 MB / 378.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.458e-05/0.2401, allocations: 168.5 kB / 423.9 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2402, allocations: 15.89 kB / 423.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.2404, allocations: 214.2 kB / 424.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2404, allocations: 0 / 424.1 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2404, allocations: 4.875 kB / 424.1 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2404, allocations: 4 kB / 424.1 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.2409, allocations: 478.6 kB / 424.6 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2409, allocations: 4 kB / 424.6 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.241, allocations: 39.91 kB / 424.6 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.241, allocations: 0 / 424.6 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.241, allocations: 18.17 kB / 424.6 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.241, allocations: 4 kB / 424.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.241, allocations: 4.062 kB / 424.7 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.2413, allocations: 330.3 kB / 425 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.2413, allocations: 15.84 kB / 425 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.2413, allocations: 7.984 kB / 425 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.2414, allocations: 4 kB / 425 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.2414, allocations: 23.91 kB / 425 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2414, allocations: 8 kB / 425 MB, free: 8.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.2415, allocations: 132 kB / 425.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2415, allocations: 4 kB / 425.2 MB, free: 8.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.2417, allocations: 44 kB / 425.2 MB, free: 8.738 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.0001607/0.2418, allocations: 123.1 kB / 425.3 MB, free: 8.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.242, allocations: 143.5 kB / 425.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.242, allocations: 0 / 425.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.542e-05/0.2421, allocations: 81.55 kB / 425.6 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2424, allocations: 63.06 kB / 425.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.243, allocations: 280.1 kB / 425.9 MB, free: 8.023 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.2431, allocations: 64 kB / 425.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2433, allocations: 64.64 kB / 426 MB, free: 7.875 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.2434, allocations: 126.1 kB / 426.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2434, allocations: 0 / 426.1 MB, free: 7.75 MB / 378.7 MB Notification: Performance of Templates: time 0.005157/0.2486, allocations: 4.026 MB / 430.2 MB, free: 3.789 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.847790417727083]