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.001469/0.001469, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001756/0.001756, allocations: 156.9 kB / 24.27 MB, free: 168 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.496/1.496, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.3435/0.3435, allocations: 34.26 MB / 295.2 MB, free: 0.6367 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.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.171e-05, allocations: 4.422 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01821/0.01824, allocations: 11.46 MB / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.01996, allocations: 1.234 MB / 389.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.01999, allocations: 4 kB / 389.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.02019, allocations: 27.83 kB / 389.9 MB, free: 6.148 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.02682, allocations: 2.232 MB / 392.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.272e-06/0.02683, allocations: 0 / 392.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.02694, allocations: 43.67 kB / 392.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.02698, allocations: 8 kB / 392.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.02709, allocations: 15.92 kB / 392.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.02715, allocations: 19.92 kB / 392.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.02716, allocations: 0 / 392.2 MB, free: 3.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007857/0.03502, allocations: 3.702 MB / 395.9 MB, free: 120 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.03504, allocations: 3.984 kB / 395.9 MB, free: 116 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.0351, allocations: 15.94 kB / 395.9 MB, free: 100 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.04156, allocations: 2.565 MB / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.04156, allocations: 0 / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.04156, allocations: 0 / 398.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.04157, allocations: 4 kB / 398.5 MB, free: 13.52 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.001504/0.04307, allocations: 0.4967 MB / 399 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.04312, allocations: 8.031 kB / 399 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.04331, allocations: 20.86 kB / 399 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.04343, allocations: 105.8 kB / 399.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.04344, allocations: 4.312 kB / 399.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.04346, allocations: 4.375 kB / 399.1 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.0438, allocations: 83.94 kB / 399.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.0438, allocations: 192 / 399.2 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.04382, allocations: 4.125 kB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.04383, allocations: 8 kB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.044, allocations: 47.95 kB / 399.3 MB, free: 12.68 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.0004561/0.04445, allocations: 304.6 kB / 399.6 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.04466, allocations: 58.47 kB / 399.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.125e-05/0.0447, allocations: 16.86 kB / 399.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02227/0.06697, allocations: 5.664 MB / 405.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.06703, allocations: 38.56 kB / 405.4 MB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.225e-06/0.06703, allocations: 0 / 405.4 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005513/0.06758, allocations: 117.6 kB / 405.5 MB, free: 6.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.06763, allocations: 55.34 kB / 405.5 MB, free: 6.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.06773, allocations: 101.8 kB / 405.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.06776, allocations: 25.7 kB / 405.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.06783, allocations: 88.09 kB / 405.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.06785, allocations: 19.83 kB / 405.8 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.0679, allocations: 25.72 kB / 405.8 MB, free: 6.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.06809, allocations: 318.8 kB / 406.1 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.06812, allocations: 11.98 kB / 406.1 MB, free: 5.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.06816, allocations: 26.58 kB / 406.1 MB, free: 5.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.06823, allocations: 38.5 kB / 406.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.06824, allocations: 3.938 kB / 406.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001289/0.06837, allocations: 73.58 kB / 406.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.06838, allocations: 4 kB / 406.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.06839, allocations: 4.062 kB / 406.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.06842, allocations: 4 kB / 406.3 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.0685, allocations: 8 kB / 406.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.0685, allocations: 0 / 406.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.06854, allocations: 4 kB / 406.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.06854, allocations: 0 / 406.3 MB, free: 5.562 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 0.0001074/0.06865, allocations: 121.8 kB / 406.4 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.06868, allocations: 0 / 406.4 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.06919, allocations: 397.2 kB / 406.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.06919, allocations: 0 / 406.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.0692, allocations: 4 kB / 406.8 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.06921, allocations: 3.984 kB / 406.8 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.06951, allocations: 225.9 kB / 407 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.06952, allocations: 3.938 kB / 407 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.06955, allocations: 4 kB / 407 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.06955, allocations: 0 / 407 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.06956, allocations: 0 / 407 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.06956, allocations: 4 kB / 407 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.06956, allocations: 0 / 407 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.06989, allocations: 298 kB / 407.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/0.06991, allocations: 15.83 kB / 407.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.06992, allocations: 4.25 kB / 407.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.06998, allocations: 12 kB / 407.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.07, allocations: 0 / 407.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.07, allocations: 0 / 407.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.375e-05/0.07006, allocations: 83.27 kB / 407.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07006, allocations: 0 / 407.4 MB, free: 4.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001334/0.07139, allocations: 455.3 kB / 407.9 MB, free: 3.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.00202/0.07341, allocations: 0.6276 MB / 408.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.07361, allocations: 87.84 kB / 408.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.07361, allocations: 0 / 408.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.0737, allocations: 63.98 kB / 408.6 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.07405, allocations: 23.91 kB / 408.7 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006879/0.07474, allocations: 301 kB / 409 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.07487, allocations: 94.05 kB / 409.1 MB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.81e-05/0.07497, allocations: 27.95 kB / 409.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.075, allocations: 12.5 kB / 409.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.075, allocations: 3.938 kB / 409.1 MB, free: 2.613 MB / 378.7 MB Notification: Performance of Templates: time 0.02416/0.09916, allocations: 13.86 MB / 423 MB, free: 4.75 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 5.387237883056514]