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.001022/0.001022, allocations: 81.81 kB / 21.42 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.001032/0.001032, allocations: 165.8 kB / 24.82 MB, free: 9.324 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.9853/0.9853, allocations: 177 MB / 205.1 MB, free: 5.457 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.2419/0.2419, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 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 1.583e-06/1.583e-06, allocations: 0 / 379.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.635e-05, allocations: 2.312 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01176/0.01177, allocations: 12.37 MB / 391.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.01269, allocations: 1.355 MB / 392.9 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.01272, allocations: 4 kB / 392.9 MB, free: 4.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.01286, allocations: 27.81 kB / 393 MB, free: 4.027 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.01678, allocations: 2.233 MB / 395.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.01678, allocations: 0 / 395.2 MB, free: 1.785 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.01685, allocations: 39.69 kB / 395.2 MB, free: 1.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.01689, allocations: 15.92 kB / 395.2 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.01697, allocations: 11.98 kB / 395.3 MB, free: 1.719 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.017, allocations: 15.94 kB / 395.3 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.198e-06/0.01701, allocations: 0 / 395.3 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.02123, allocations: 3.71 MB / 399 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.02125, allocations: 3.938 kB / 399 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.02127, allocations: 12 kB / 399 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002663/0.02393, allocations: 2.561 MB / 401.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.02394, allocations: 0 / 401.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02394, allocations: 0 / 401.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.02394, allocations: 0 / 401.6 MB, free: 11.41 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.0007387/0.02468, allocations: 0.5966 MB / 402.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.02473, allocations: 15.97 kB / 402.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.02484, allocations: 20.86 kB / 402.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.307e-05/0.02492, allocations: 112.6 kB / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.02493, allocations: 4.375 kB / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-06/0.02494, allocations: 384 / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.02509, allocations: 97.55 kB / 402.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.0251, allocations: 192 / 402.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.02511, allocations: 4.125 kB / 402.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.02511, allocations: 7.984 kB / 402.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.0252, allocations: 39.89 kB / 402.5 MB, free: 10.44 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.0003166/0.02551, allocations: 395.2 kB / 402.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.02561, allocations: 58.97 kB / 402.9 MB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.02563, allocations: 19.77 kB / 402.9 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008549/0.03418, allocations: 5.161 MB / 408.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.0342, allocations: 37.39 kB / 408.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.0342, allocations: 0 / 408.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002538/0.03446, allocations: 113.4 kB / 408.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/0.03448, allocations: 51.41 kB / 408.3 MB, free: 4.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.721e-05/0.03455, allocations: 161.9 kB / 408.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.03456, allocations: 25.7 kB / 408.5 MB, free: 4.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.03461, allocations: 150.8 kB / 408.6 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.03462, allocations: 15.83 kB / 408.6 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.03466, allocations: 27.38 kB / 408.7 MB, free: 4.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.03477, allocations: 496.1 kB / 409.1 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.03479, allocations: 4 kB / 409.1 MB, free: 3.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.03481, allocations: 31.05 kB / 409.2 MB, free: 3.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.03486, allocations: 43 kB / 409.2 MB, free: 3.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.03486, allocations: 0 / 409.2 MB, free: 3.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.241e-05/0.03493, allocations: 73.5 kB / 409.3 MB, free: 3.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.03495, allocations: 4 kB / 409.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.03495, allocations: 4 kB / 409.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.03496, allocations: 0 / 409.3 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.03501, allocations: 12 kB / 409.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.03501, allocations: 0 / 409.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.03503, allocations: 7.938 kB / 409.3 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.03503, allocations: 0 / 409.3 MB, free: 3.426 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.212e-05/0.03509, allocations: 160.6 kB / 409.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.03511, allocations: 11.92 kB / 409.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.03531, allocations: 221.4 kB / 409.7 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.03532, allocations: 7.984 kB / 409.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.03532, allocations: 0 / 409.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.03532, allocations: 0 / 409.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.03547, allocations: 169.9 kB / 409.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.03547, allocations: 192 / 409.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.03549, allocations: 8 kB / 409.9 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.03549, allocations: 3.938 kB / 409.9 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.0355, allocations: 7.938 kB / 409.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.0355, allocations: 0 / 409.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0355, allocations: 4 kB / 409.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.03566, allocations: 286.9 kB / 410.2 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.03567, allocations: 15.83 kB / 410.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.03568, allocations: 7.938 kB / 410.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.672e-05/0.03571, allocations: 4 kB / 410.2 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.03572, allocations: 11.91 kB / 410.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.03572, allocations: 0 / 410.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.03575, allocations: 123.2 kB / 410.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03575, allocations: 0 / 410.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006167/0.03637, allocations: 447.4 kB / 410.8 MB, free: 1.902 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.00113/0.0375, allocations: 0.6467 MB / 411.4 MB, free: 1.246 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.03758, allocations: 47.61 kB / 411.5 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.03758, allocations: 0 / 411.5 MB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.007e-05/0.03762, allocations: 55.53 kB / 411.5 MB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.03782, allocations: 20.11 kB / 411.5 MB, free: 1.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.0384, allocations: 302.3 kB / 411.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.03844, allocations: 72.08 kB / 411.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.198e-05/0.03849, allocations: 23.97 kB / 411.9 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.38e-05/0.03856, allocations: 86.19 kB / 412 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03856, allocations: 0 / 412 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of Templates: time 0.01748/0.05604, allocations: 15.77 MB / 427.8 MB, free: 0.8047 MB / 394.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.2888911603949964]