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.001752/0.001752, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002004/0.002004, allocations: 160.8 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.496/1.496, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001914/0.001914, allocations: 61.89 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09408, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3473/0.4414, allocations: 131.3 MB / 0.4982 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.4434, allocations: 2.253 MB / 0.5004 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.4434, allocations: 0 / 0.5004 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.4436, allocations: 24.27 kB / 0.5005 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007779/0.4444, allocations: 343 kB / 0.5008 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.4445, allocations: 63.34 kB / 0.5009 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.4446, allocations: 107.3 kB / 0.501 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.4447, allocations: 2.906 kB / 0.501 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.4448, allocations: 44.84 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.4448, allocations: 37.77 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.4448, allocations: 2.844 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.4454, allocations: 346.7 kB / 0.5014 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.4454, allocations: 13.36 kB / 0.5014 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.4455, allocations: 32 kB / 0.5014 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.4459, allocations: 314.4 kB / 0.5017 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4459, allocations: 5.859 kB / 0.5017 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4459, allocations: 0 / 0.5017 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.4459, allocations: 3.688 kB / 0.5017 GB, free: 14.71 MB / 446.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.0008807/0.4468, allocations: 387.3 kB / 0.5021 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4468, allocations: 14.45 kB / 0.5021 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006608/0.4534, allocations: 487.3 kB / 0.5026 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4536, allocations: 118.7 kB / 0.5027 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4536, allocations: 7.75 kB / 0.5027 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.4536, allocations: 7.5 kB / 0.5027 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007054/0.4543, allocations: 304.5 kB / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4544, allocations: 0 / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.4544, allocations: 2.75 kB / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4544, allocations: 0 / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.4552, allocations: 282 kB / 0.5033 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.4554, allocations: 174.4 kB / 0.5034 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/0.4558, allocations: 153.3 kB / 0.5036 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.456, allocations: 80.62 kB / 0.5037 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.456, allocations: 2.906 kB / 0.5037 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4561, allocations: 37.56 kB / 0.5037 GB, free: 13.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.4561, allocations: 0 / 0.5037 GB, free: 13.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.00207/0.4581, allocations: 0.5755 MB / 0.5043 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.4582, allocations: 53.88 kB / 0.5043 GB, free: 13.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4583, allocations: 115.7 kB / 0.5044 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.4584, allocations: 26.8 kB / 0.5044 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.4584, allocations: 86.73 kB / 0.5045 GB, free: 13.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.4585, allocations: 86.19 kB / 0.5046 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.4586, allocations: 48.12 kB / 0.5047 GB, free: 13.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4588, allocations: 323.9 kB / 0.505 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.4591, allocations: 100.4 kB / 0.5051 GB, free: 13.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.4593, allocations: 101.5 kB / 0.5052 GB, free: 13.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.4599, allocations: 230.5 kB / 0.5054 GB, free: 13.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4599, allocations: 0 / 0.5054 GB, free: 13.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006662/0.4606, allocations: 281.9 kB / 0.5056 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4606, allocations: 6.734 kB / 0.5057 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4606, allocations: 2.203 kB / 0.5057 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.4606, allocations: 6.844 kB / 0.5057 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.461, allocations: 57.97 kB / 0.5057 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.461, allocations: 3.938 kB / 0.5057 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.4613, allocations: 15.88 kB / 0.5057 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.4614, allocations: 13.3 kB / 0.5057 GB, free: 13.18 MB / 446.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.0001173/0.4615, allocations: 121.9 kB / 0.5059 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4615, allocations: 6.734 kB / 0.5059 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009199/0.4624, allocations: 355.2 kB / 0.5062 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4624, allocations: 2.812 kB / 0.5062 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4624, allocations: 7.891 kB / 0.5062 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4625, allocations: 2.484 kB / 0.5062 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.4639, allocations: 0.6305 MB / 0.5068 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4639, allocations: 2.781 kB / 0.5068 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.4643, allocations: 58.78 kB / 0.5069 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4643, allocations: 6.938 kB / 0.5069 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.4644, allocations: 10.11 kB / 0.5069 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4644, allocations: 2.531 kB / 0.5069 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4644, allocations: 2.938 kB / 0.5069 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.4651, allocations: 414.8 kB / 0.5073 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.4652, allocations: 20.12 kB / 0.5073 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.4652, allocations: 8.734 kB / 0.5073 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.4655, allocations: 15.42 kB / 0.5074 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4655, allocations: 19.16 kB / 0.5074 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.4656, allocations: 20.23 kB / 0.5074 GB, free: 12.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.4656, allocations: 89.77 kB / 0.5075 GB, free: 12.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4656, allocations: 0 / 0.5075 GB, free: 12.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000354/0.466, allocations: 56.28 kB / 0.5075 GB, free: 12.41 MB / 446.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.0002513/0.4662, allocations: 131.4 kB / 0.5077 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.4669, allocations: 240.8 kB / 0.5079 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4669, allocations: 2.875 kB / 0.5079 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.4672, allocations: 132.2 kB / 0.508 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.4677, allocations: 55.08 kB / 0.5081 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008654/0.4686, allocations: 347.6 kB / 0.5084 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.467e-05/0.4687, allocations: 91.73 kB / 0.5085 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002841/0.469, allocations: 62.42 kB / 0.5085 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.4691, allocations: 42.06 kB / 0.5086 GB, free: 11.96 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4691, allocations: 0 / 0.5086 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Templates: time 0.007902/0.477, allocations: 4.367 MB / 0.5129 GB, free: 10.1 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.746126541052945]