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.001933/0.001933, allocations: 83.69 kB / 20.95 MB, free: 3.316 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.001994/0.001994, allocations: 161.3 kB / 24.27 MB, free: 4 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 1.538/1.538, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3745/0.3745, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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 1.252e-06/1.252e-06, allocations: 0 / 377.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.109e-05, allocations: 2.312 kB / 377.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0194/0.01943, allocations: 12.44 MB / 389.7 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.02128, allocations: 1.382 MB / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.02131, allocations: 0 / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.02155, allocations: 31.83 kB / 391.1 MB, free: 5.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.02844, allocations: 2.225 MB / 393.3 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.932e-06/0.02845, allocations: 3.938 kB / 393.4 MB, free: 2.855 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.02856, allocations: 47.69 kB / 393.4 MB, free: 2.809 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.0286, allocations: 3.984 kB / 393.4 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.02873, allocations: 27.91 kB / 393.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.02879, allocations: 11.94 kB / 393.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.0288, allocations: 0 / 393.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007758/0.03655, allocations: 3.702 MB / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.03657, allocations: 0 / 397.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.03662, allocations: 19.94 kB / 397.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.04148, allocations: 2.565 MB / 399.7 MB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.04149, allocations: 4 kB / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04149, allocations: 0 / 399.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.0415, allocations: 4 kB / 399.7 MB, free: 12.46 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.001205/0.0427, allocations: 0.5845 MB / 400.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.04274, allocations: 8.031 kB / 400.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.04294, allocations: 24.86 kB / 400.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.04307, allocations: 108.6 kB / 400.5 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.04309, allocations: 4.375 kB / 400.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.04311, allocations: 8.312 kB / 400.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.04337, allocations: 93.58 kB / 400.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.04338, allocations: 192 / 400.6 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.0434, allocations: 8.125 kB / 400.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.0434, allocations: 0 / 400.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.04358, allocations: 47.95 kB / 400.6 MB, free: 11.5 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.0005598/0.04414, allocations: 410.6 kB / 401 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.04433, allocations: 66.97 kB / 401.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.04437, allocations: 19.77 kB / 401.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/0.06545, allocations: 5.649 MB / 406.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.0655, allocations: 37.39 kB / 406.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.0655, allocations: 0 / 406.8 MB, free: 5.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005406/0.06604, allocations: 113.5 kB / 406.9 MB, free: 5.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.06609, allocations: 59.41 kB / 407 MB, free: 5.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.06623, allocations: 165.9 kB / 407.1 MB, free: 4.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.06625, allocations: 25.7 kB / 407.1 MB, free: 4.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.06634, allocations: 134.8 kB / 407.3 MB, free: 4.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.06636, allocations: 19.83 kB / 407.3 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.06641, allocations: 31.36 kB / 407.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.06668, allocations: 496.1 kB / 407.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.06671, allocations: 8 kB / 407.8 MB, free: 4.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.347e-05/0.06676, allocations: 39.05 kB / 407.9 MB, free: 4.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.06684, allocations: 47.38 kB / 407.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.06684, allocations: 3.938 kB / 407.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001276/0.06697, allocations: 77.55 kB / 408 MB, free: 3.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.06699, allocations: 8 kB / 408 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.06699, allocations: 0 / 408 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.06701, allocations: 0 / 408 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.375e-05/0.06709, allocations: 12 kB / 408 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.0671, allocations: 0 / 408 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.925e-05/0.06713, allocations: 4 kB / 408 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.06713, allocations: 0 / 408 MB, free: 3.949 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.0001256/0.06726, allocations: 168.6 kB / 408.2 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.06729, allocations: 7.984 kB / 408.2 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.06767, allocations: 241.3 kB / 408.4 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.06768, allocations: 7.984 kB / 408.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.06768, allocations: 192 / 408.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.06769, allocations: 0 / 408.4 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.06806, allocations: 193.3 kB / 408.6 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.06806, allocations: 3.938 kB / 408.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.0681, allocations: 4 kB / 408.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.0681, allocations: 0 / 408.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.06811, allocations: 8 kB / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.06811, allocations: 0 / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.06811, allocations: 0 / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.06842, allocations: 294.5 kB / 408.9 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.06844, allocations: 23.81 kB / 408.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.06847, allocations: 4 kB / 408.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.06852, allocations: 0 / 408.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.06854, allocations: 0 / 408.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.06854, allocations: 4 kB / 408.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.06862, allocations: 127.2 kB / 409.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06862, allocations: 0 / 409.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001311/0.06993, allocations: 455.3 kB / 409.5 MB, free: 2.367 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.002025/0.07195, allocations: 0.6234 MB / 410.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.07214, allocations: 63.73 kB / 410.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.07214, allocations: 4.125 kB / 410.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-05/0.07222, allocations: 51.61 kB / 410.3 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.07256, allocations: 19.92 kB / 410.3 MB, free: 1.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.07311, allocations: 275.3 kB / 410.5 MB, free: 1.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.07322, allocations: 98.14 kB / 410.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.07333, allocations: 27.95 kB / 410.7 MB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.07335, allocations: 12.5 kB / 410.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.07336, allocations: 3.938 kB / 410.7 MB, free: 1.129 MB / 378.7 MB Notification: Performance of Templates: time 0.02562/0.09897, allocations: 14.26 MB / 424.9 MB, free: 2.875 MB / 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.436426108004525]