Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.001113/0.001113, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.0009153/0.0009153, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9414/0.9414, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2564/0.2564, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.389e-05, allocations: 6.25 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01576/0.01579, allocations: 12.5 MB / 390.5 MB, free: 6.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.01682, allocations: 1.39 MB / 391.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.01686, allocations: 0 / 391.9 MB, free: 4.711 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.01705, allocations: 23.83 kB / 391.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.02152, allocations: 2.237 MB / 394.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.098e-06/0.02152, allocations: 0 / 394.2 MB, free: 2.441 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.416e-05/0.02162, allocations: 39.67 kB / 394.2 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.02166, allocations: 11.94 kB / 394.2 MB, free: 2.391 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.628e-05/0.02175, allocations: 19.98 kB / 394.2 MB, free: 2.371 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.02179, allocations: 15.97 kB / 394.3 MB, free: 2.355 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.02181, allocations: 4 kB / 394.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.02605, allocations: 3.706 MB / 398 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.02606, allocations: 0 / 398 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.02609, allocations: 15.92 kB / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002618/0.02871, allocations: 2.561 MB / 400.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.02872, allocations: 0 / 400.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02872, allocations: 0 / 400.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.02873, allocations: 7.938 kB / 400.6 MB, free: 12.05 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.0008205/0.02955, allocations: 0.5965 MB / 401.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.02959, allocations: 8.031 kB / 401.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.02972, allocations: 20.86 kB / 401.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.02981, allocations: 108.6 kB / 401.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.02982, allocations: 8.375 kB / 401.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.02983, allocations: 4.375 kB / 401.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.03, allocations: 85.59 kB / 401.4 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.03001, allocations: 4.188 kB / 401.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.03002, allocations: 12.11 kB / 401.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.03003, allocations: 0 / 401.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.03011, allocations: 39.91 kB / 401.4 MB, free: 11.09 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.0003835/0.0305, allocations: 402.6 kB / 401.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.03062, allocations: 66.89 kB / 401.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.03064, allocations: 15.69 kB / 401.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009203/0.03984, allocations: 5.649 MB / 407.6 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.03987, allocations: 33.39 kB / 407.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.03987, allocations: 0 / 407.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003205/0.04019, allocations: 121.4 kB / 407.7 MB, free: 4.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.04022, allocations: 51.41 kB / 407.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.0403, allocations: 165.9 kB / 407.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.04031, allocations: 25.7 kB / 407.9 MB, free: 4.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.04035, allocations: 134.8 kB / 408.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.04037, allocations: 19.84 kB / 408.1 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.0404, allocations: 27.36 kB / 408.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.0405, allocations: 496.1 kB / 408.6 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.04051, allocations: 4 kB / 408.6 MB, free: 3.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.04054, allocations: 35.05 kB / 408.6 MB, free: 3.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.04059, allocations: 47 kB / 408.7 MB, free: 3.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.04059, allocations: 3.938 kB / 408.7 MB, free: 3.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.64e-05/0.04066, allocations: 61.58 kB / 408.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.04067, allocations: 8.062 kB / 408.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.04068, allocations: 4 kB / 408.8 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.04069, allocations: 0 / 408.8 MB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.04074, allocations: 19.92 kB / 408.8 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.04075, allocations: 7.938 kB / 408.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.04077, allocations: 128 / 408.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-06/0.04078, allocations: 8 kB / 408.8 MB, free: 3.559 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.244e-05/0.04084, allocations: 160.5 kB / 409 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.04085, allocations: 4 kB / 409 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.04109, allocations: 245.3 kB / 409.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.0411, allocations: 15.98 kB / 409.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.0411, allocations: 0 / 409.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.04111, allocations: 0 / 409.2 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.04124, allocations: 189.3 kB / 409.4 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.04125, allocations: 3.938 kB / 409.4 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.04127, allocations: 11.94 kB / 409.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.04127, allocations: 0 / 409.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.04128, allocations: 0 / 409.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.04128, allocations: 0 / 409.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.04128, allocations: 0 / 409.4 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.04144, allocations: 298.5 kB / 409.7 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.04145, allocations: 23.77 kB / 409.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.04146, allocations: 4 kB / 409.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.04149, allocations: 0 / 409.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.0415, allocations: 3.984 kB / 409.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.04151, allocations: 4 kB / 409.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.097e-05/0.04154, allocations: 123.2 kB / 409.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04154, allocations: 0 / 409.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006775/0.04222, allocations: 447.4 kB / 410.3 MB, free: 1.984 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.001275/0.04349, allocations: 0.6395 MB / 410.9 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.0436, allocations: 59.56 kB / 411 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.0436, allocations: 0 / 411 MB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.04365, allocations: 59.72 kB / 411.1 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.04385, allocations: 24.05 kB / 411.1 MB, free: 1.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/0.04455, allocations: 294.9 kB / 411.4 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.909e-05/0.0446, allocations: 75 kB / 411.4 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.04466, allocations: 19.97 kB / 411.5 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.04468, allocations: 16.5 kB / 411.5 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04469, allocations: 4 kB / 411.5 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of Templates: time 0.01486/0.05954, allocations: 16.32 MB / 427.8 MB, free: 416 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.8251244253478944]