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.001022/0.001022, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001063/0.001063, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9221/0.9221, allocations: 177 MB / 205.9 MB, free: 4.461 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.443e-06/1.443e-06, allocations: 3.938 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.662e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2251/0.2251, allocations: 142.5 MB / 416.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.227, allocations: 2.531 MB / 419.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.227, allocations: 4 kB / 419.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2272, allocations: 19.14 kB / 419.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007356/0.2279, allocations: 352.7 kB / 419.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.2281, allocations: 59.67 kB / 419.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2282, allocations: 111.3 kB / 419.7 MB, free: 14.53 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.2282, allocations: 4 kB / 419.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2283, allocations: 63.77 kB / 419.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.2284, allocations: 27.91 kB / 419.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2284, allocations: 4 kB / 419.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.2288, allocations: 351.3 kB / 420.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2289, allocations: 11.92 kB / 420.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.2289, allocations: 23.94 kB / 420.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.2293, allocations: 355.1 kB / 420.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2293, allocations: 0 / 420.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2293, allocations: 0 / 420.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.2293, allocations: 0 / 420.5 MB, free: 13.7 MB / 346.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.0005596/0.2298, allocations: 484.3 kB / 420.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2299, allocations: 11.97 kB / 421 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.2328, allocations: 460.1 kB / 421.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.233, allocations: 168.6 kB / 421.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.233, allocations: 7.938 kB / 421.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.2331, allocations: 8 kB / 421.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.2334, allocations: 262 kB / 421.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2334, allocations: 7.984 kB / 421.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.2334, allocations: 4 kB / 421.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2334, allocations: 0 / 421.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.2337, allocations: 195.9 kB / 422 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.2341, allocations: 388.9 kB / 422.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2345, allocations: 143 kB / 422.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.2345, allocations: 47.66 kB / 422.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2345, allocations: 8 kB / 422.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2346, allocations: 33.39 kB / 422.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2346, allocations: 4 kB / 422.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008411/0.2354, allocations: 302.7 kB / 423 MB, free: 11.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.2354, allocations: 55.41 kB / 423 MB, free: 11.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.913e-05/0.2355, allocations: 181.8 kB / 423.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2355, allocations: 25.7 kB / 423.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.2356, allocations: 146.8 kB / 423.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.2356, allocations: 67.36 kB / 423.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.2357, allocations: 51.34 kB / 423.5 MB, free: 10.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.2358, allocations: 0.4962 MB / 424 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.2358, allocations: 40.78 kB / 424 MB, free: 9.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.848e-05/0.2359, allocations: 97.38 kB / 424.1 MB, free: 9.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.236, allocations: 148.6 kB / 424.2 MB, free: 9.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.236, allocations: 4 kB / 424.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002213/0.2363, allocations: 177.5 kB / 424.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2363, allocations: 10.59 kB / 424.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2363, allocations: 0 / 424.4 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.2363, allocations: 6.812 kB / 424.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.2365, allocations: 47.91 kB / 424.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2365, allocations: 4 kB / 424.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-05/0.2366, allocations: 12.11 kB / 424.5 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.2366, allocations: 15.98 kB / 424.5 MB, free: 9.43 MB / 346.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.788e-05/0.2367, allocations: 172.4 kB / 424.7 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.2367, allocations: 15.89 kB / 424.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.237, allocations: 202.2 kB / 424.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.237, allocations: 0 / 424.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.237, allocations: 0 / 424.9 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.237, allocations: 7.984 kB / 424.9 MB, free: 9.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.2375, allocations: 485.8 kB / 425.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2375, allocations: 0 / 425.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.2376, allocations: 39.97 kB / 425.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2376, allocations: 0 / 425.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2376, allocations: 8 kB / 425.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2376, allocations: 0 / 425.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2376, allocations: 7.984 kB / 425.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.2379, allocations: 331.5 kB / 425.8 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.2379, allocations: 19.78 kB / 425.8 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2379, allocations: 4.938 kB / 425.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.238, allocations: 11.98 kB / 425.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.238, allocations: 11.98 kB / 425.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.238, allocations: 15.98 kB / 425.8 MB, free: 8.039 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.541e-05/0.2381, allocations: 136.2 kB / 426 MB, free: 7.906 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2381, allocations: 0 / 426 MB, free: 7.906 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.2383, allocations: 44 kB / 426 MB, free: 7.863 MB / 346.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.0001516/0.2384, allocations: 123.1 kB / 426.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.2386, allocations: 142.8 kB / 426.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.2386, allocations: 256 / 426.3 MB, free: 7.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.89e-05/0.2387, allocations: 87.52 kB / 426.3 MB, free: 7.504 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.239, allocations: 63.22 kB / 426.4 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006594/0.2396, allocations: 278.2 kB / 426.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.496e-05/0.2397, allocations: 64 kB / 426.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.2399, allocations: 65.44 kB / 426.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.24, allocations: 118.2 kB / 426.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of SimCode: time 9.41e-07/0.24, allocations: 0 / 426.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of Templates: time 0.005046/0.2451, allocations: 4.084 MB / 431 MB, free: 2.871 MB / 346.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.88204597402364]