Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.0009743/0.0009743, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001208/0.001208, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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 1.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.242 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2607/0.2607, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.403e-05, allocations: 4.422 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01671/0.01675, allocations: 12.51 MB / 391.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.01826, allocations: 1.394 MB / 392.6 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.0183, allocations: 0 / 392.6 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.01853, allocations: 27.83 kB / 392.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009147/0.02767, allocations: 2.228 MB / 394.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.907e-06/0.02768, allocations: 0 / 394.9 MB, free: 1.891 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.02779, allocations: 43.67 kB / 394.9 MB, free: 1.848 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.02783, allocations: 7.938 kB / 394.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.02794, allocations: 27.91 kB / 395 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.651e-05/0.02798, allocations: 11.98 kB / 395 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.02799, allocations: 0 / 395 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005182/0.03317, allocations: 3.702 MB / 398.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.03319, allocations: 3.938 kB / 398.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.03322, allocations: 12 kB / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.03623, allocations: 2.573 MB / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.03623, allocations: 0 / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03623, allocations: 0 / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.03624, allocations: 0 / 401.3 MB, free: 11.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00103/0.03727, allocations: 0.5888 MB / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.03731, allocations: 12.03 kB / 401.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.03745, allocations: 16.86 kB / 401.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.03753, allocations: 120.5 kB / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.03754, allocations: 384 / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.03755, allocations: 8.375 kB / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.03772, allocations: 97.52 kB / 402.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.03773, allocations: 4.172 kB / 402.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.03774, allocations: 4.125 kB / 402.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.03774, allocations: 0 / 402.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.03783, allocations: 39.91 kB / 402.2 MB, free: 10.54 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.0382, allocations: 406.6 kB / 402.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.03831, allocations: 66.95 kB / 402.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.03834, allocations: 19.62 kB / 402.6 MB, free: 10 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009557/0.0479, allocations: 5.637 MB / 408.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.04792, allocations: 37.39 kB / 408.3 MB, free: 4.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.04792, allocations: 4 kB / 408.3 MB, free: 4.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002981/0.04822, allocations: 113.4 kB / 408.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.04825, allocations: 59.34 kB / 408.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.04832, allocations: 161.9 kB / 408.6 MB, free: 3.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.04833, allocations: 29.7 kB / 408.7 MB, free: 3.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.04837, allocations: 134.8 kB / 408.8 MB, free: 3.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.04839, allocations: 15.84 kB / 408.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.04842, allocations: 27.36 kB / 408.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.04853, allocations: 0.4884 MB / 409.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.04854, allocations: 4 kB / 409.3 MB, free: 3.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.04857, allocations: 39.05 kB / 409.4 MB, free: 3.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.04862, allocations: 43 kB / 409.4 MB, free: 3.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.04862, allocations: 3.938 kB / 409.4 MB, free: 3.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.797e-05/0.0487, allocations: 73.58 kB / 409.5 MB, free: 3.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.04871, allocations: 4 kB / 409.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.04872, allocations: 0 / 409.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.04873, allocations: 0 / 409.5 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.799e-05/0.04879, allocations: 15.98 kB / 409.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.04879, allocations: 0 / 409.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.04881, allocations: 0 / 409.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.04882, allocations: 4 kB / 409.5 MB, free: 3.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.595e-05/0.04889, allocations: 164.5 kB / 409.7 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.0489, allocations: 4 kB / 409.7 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.04914, allocations: 249.4 kB / 409.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.04915, allocations: 7.984 kB / 409.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.04915, allocations: 0 / 409.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.04916, allocations: 0 / 409.9 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.0493, allocations: 193.3 kB / 410.1 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.0493, allocations: 3.938 kB / 410.1 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.04932, allocations: 8 kB / 410.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.04933, allocations: 0 / 410.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.04934, allocations: 3.938 kB / 410.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.04934, allocations: 0 / 410.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.04934, allocations: 8 kB / 410.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.04951, allocations: 294.5 kB / 410.4 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.04981, allocations: 23.77 kB / 410.5 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.04982, allocations: 0 / 410.5 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.04985, allocations: 0 / 410.5 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.04986, allocations: 7.984 kB / 410.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.04987, allocations: 4 kB / 410.5 MB, free: 1.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.0499, allocations: 123.2 kB / 410.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0499, allocations: 0 / 410.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007229/0.05062, allocations: 443.4 kB / 411 MB, free: 1.434 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00132/0.05194, allocations: 0.6358 MB / 411.7 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.05206, allocations: 63.55 kB / 411.7 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.05207, allocations: 0 / 411.7 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.05212, allocations: 51.61 kB / 411.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.05235, allocations: 27.98 kB / 411.8 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.05309, allocations: 298.4 kB / 412.1 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.05314, allocations: 76.02 kB / 412.2 MB, free: 224 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.068e-05/0.0532, allocations: 23.97 kB / 412.2 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.05322, allocations: 12.5 kB / 412.2 MB, free: 188 kB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.05322, allocations: 0 / 412.2 MB, free: 188 kB / 378.7 MB Notification: Performance of Templates: time 0.01632/0.06954, allocations: 16.31 MB / 428.5 MB, free: 15.86 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.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: 3.9124749968759716]