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.001832/0.001832, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002352/0.002352, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.498/1.498, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001571/0.001571, allocations: 54.77 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.09044, allocations: 53.33 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3475/0.4379, allocations: 131.3 MB / 0.4982 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.44, allocations: 2.254 MB / 0.5004 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.4401, allocations: 2.719 kB / 0.5004 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.4403, allocations: 22.66 kB / 0.5005 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008933/0.4412, allocations: 343.1 kB / 0.5008 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.4413, allocations: 68.05 kB / 0.5009 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.4415, allocations: 103.6 kB / 0.5009 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.4415, allocations: 4.266 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.4416, allocations: 43.91 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.4417, allocations: 33.89 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.4417, allocations: 2.875 kB / 0.501 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006002/0.4423, allocations: 345.2 kB / 0.5014 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4423, allocations: 12.64 kB / 0.5014 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.937e-05/0.4423, allocations: 38.66 kB / 0.5014 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004382/0.4428, allocations: 316.8 kB / 0.5017 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4428, allocations: 2.906 kB / 0.5017 GB, free: 14.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4428, allocations: 0 / 0.5017 GB, free: 14.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4428, allocations: 2.344 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.0008831/0.4437, allocations: 386.7 kB / 0.5021 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.4437, allocations: 12.16 kB / 0.5021 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/0.4503, allocations: 488.2 kB / 0.5026 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.4504, allocations: 121.9 kB / 0.5027 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4504, allocations: 5.156 kB / 0.5027 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.4505, allocations: 10.03 kB / 0.5027 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007032/0.4512, allocations: 297 kB / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4512, allocations: 7.719 kB / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.4513, allocations: 5.562 kB / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4513, allocations: 0 / 0.503 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.452, allocations: 271.4 kB / 0.5032 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.4523, allocations: 174.7 kB / 0.5034 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.4527, allocations: 153.8 kB / 0.5036 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.4529, allocations: 80.8 kB / 0.5036 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.4529, allocations: 2.531 kB / 0.5036 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.4529, allocations: 39.12 kB / 0.5037 GB, free: 13.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.4529, allocations: 0 / 0.5037 GB, free: 13.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.002068/0.455, allocations: 0.578 MB / 0.5042 GB, free: 13.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.455, allocations: 54.34 kB / 0.5043 GB, free: 13.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.504e-05/0.4551, allocations: 114.5 kB / 0.5044 GB, free: 13.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4552, allocations: 32.88 kB / 0.5044 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.4552, allocations: 82.42 kB / 0.5045 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.4553, allocations: 92.22 kB / 0.5046 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.4554, allocations: 42.95 kB / 0.5046 GB, free: 13.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4555, allocations: 324.3 kB / 0.505 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.4558, allocations: 98.58 kB / 0.505 GB, free: 13.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4561, allocations: 110.9 kB / 0.5052 GB, free: 13.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.4567, allocations: 221.5 kB / 0.5054 GB, free: 13.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4567, allocations: 0 / 0.5054 GB, free: 13.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006878/0.4574, allocations: 289.7 kB / 0.5056 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4574, allocations: 5.438 kB / 0.5056 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4574, allocations: 1.203 kB / 0.5056 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4574, allocations: 0 / 0.5056 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.4578, allocations: 57.48 kB / 0.5057 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4578, allocations: 3.938 kB / 0.5057 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.4581, allocations: 20.03 kB / 0.5057 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.4582, allocations: 12.97 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.0001323/0.4583, allocations: 122.2 kB / 0.5059 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.4583, allocations: 9.109 kB / 0.5059 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/0.4592, allocations: 357.5 kB / 0.5062 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4592, allocations: 2.188 kB / 0.5062 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4592, allocations: 3.938 kB / 0.5062 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4592, allocations: 1.203 kB / 0.5062 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.4607, allocations: 0.642 MB / 0.5068 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4607, allocations: 0 / 0.5068 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.4611, allocations: 61.77 kB / 0.5069 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.4611, allocations: 7.312 kB / 0.5069 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.4611, allocations: 14.59 kB / 0.5069 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4611, allocations: 2.375 kB / 0.5069 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4611, allocations: 2.531 kB / 0.5069 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.4619, allocations: 410.6 kB / 0.5073 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.4619, allocations: 17.31 kB / 0.5073 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.462, allocations: 6.562 kB / 0.5073 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.4623, allocations: 15.28 kB / 0.5073 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.4623, allocations: 20.89 kB / 0.5074 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.4624, allocations: 12.47 kB / 0.5074 GB, free: 12.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.911e-05/0.4624, allocations: 90.02 kB / 0.5075 GB, free: 12.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4624, allocations: 0 / 0.5075 GB, free: 12.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.4628, allocations: 56.53 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.0002014/0.463, allocations: 131.1 kB / 0.5076 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006885/0.4636, allocations: 247.8 kB / 0.5079 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4636, allocations: 0 / 0.5079 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.464, allocations: 127.4 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.000524/0.4645, allocations: 54.22 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.0008733/0.4654, allocations: 349.4 kB / 0.5084 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.4654, allocations: 87.39 kB / 0.5085 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.4657, allocations: 62.7 kB / 0.5085 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.4659, allocations: 41.64 kB / 0.5086 GB, free: 11.96 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4659, allocations: 0 / 0.5086 GB, free: 11.96 MB / 446.1 MB Notification: Performance of Templates: time 0.007785/0.4737, allocations: 4.388 MB / 0.5129 GB, free: 10.15 MB / 446.1 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 -s ida -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/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_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.795377554022707]