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.0009172/0.0009172, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001039/0.001039, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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.9199/0.9199, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1428/0.1428, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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 1.623e-06/1.623e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.461e-05, allocations: 6.25 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.008428/0.008443, allocations: 12.34 MB / 391.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007354/0.009178, allocations: 1.37 MB / 393 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.009207, allocations: 0 / 393 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.009331, allocations: 31.81 kB / 393 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.01321, allocations: 2.226 MB / 395.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.01321, allocations: 0 / 395.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.561e-05/0.01329, allocations: 43.66 kB / 395.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.01333, allocations: 8 kB / 395.3 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.0134, allocations: 19.98 kB / 395.3 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.01343, allocations: 11.94 kB / 395.3 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-06/0.01344, allocations: 0 / 395.3 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004256/0.0177, allocations: 3.706 MB / 399 MB, free: 3.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.01771, allocations: 7.938 kB / 399 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.897e-05/0.01773, allocations: 8 kB / 399 MB, free: 3.574 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.02001, allocations: 2.569 MB / 401.6 MB, free: 1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.02002, allocations: 7.984 kB / 401.6 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.02002, allocations: 0 / 401.6 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.02002, allocations: 0 / 401.6 MB, free: 0.9922 MB / 314.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.0007185/0.02074, allocations: 0.5849 MB / 402.2 MB, free: 380 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.02077, allocations: 12.03 kB / 402.2 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.0209, allocations: 24.86 kB / 402.2 MB, free: 344 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.52e-05/0.02096, allocations: 112.6 kB / 402.4 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.02097, allocations: 4.375 kB / 402.4 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.02098, allocations: 8.359 kB / 402.4 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.02112, allocations: 81.59 kB / 402.4 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.02113, allocations: 4.188 kB / 402.4 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.02114, allocations: 4.125 kB / 402.5 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.02114, allocations: 0 / 402.5 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.02124, allocations: 39.89 kB / 402.5 MB, free: 48 kB / 314.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.0003181/0.02156, allocations: 399.2 kB / 402.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.02168, allocations: 55.03 kB / 402.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.0217, allocations: 19.7 kB / 403 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.03323, allocations: 5.15 MB / 408.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.03326, allocations: 41.39 kB / 408.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.03326, allocations: 0 / 408.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003025/0.03356, allocations: 113.4 kB / 408.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.03359, allocations: 55.39 kB / 408.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.206e-05/0.03366, allocations: 166.1 kB / 408.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.03367, allocations: 25.7 kB / 408.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.03372, allocations: 138.8 kB / 408.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.03373, allocations: 23.83 kB / 408.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.03377, allocations: 23.38 kB / 408.7 MB, free: 9.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.03388, allocations: 496.1 kB / 409.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.03389, allocations: 7.984 kB / 409.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.03392, allocations: 39.05 kB / 409.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.03397, allocations: 42.98 kB / 409.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.03397, allocations: 0 / 409.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.912e-05/0.03405, allocations: 61.56 kB / 409.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.03406, allocations: 8 kB / 409.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.03406, allocations: 0 / 409.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.03407, allocations: 0 / 409.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.03411, allocations: 8 kB / 409.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.03412, allocations: 8.062 kB / 409.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.03414, allocations: 7.953 kB / 409.3 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.03415, allocations: 7.984 kB / 409.3 MB, free: 9.023 MB / 330.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.02e-05/0.03421, allocations: 156.5 kB / 409.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.03423, allocations: 7.938 kB / 409.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.03465, allocations: 225.1 kB / 409.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.03466, allocations: 4 kB / 409.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.03466, allocations: 0 / 409.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.03466, allocations: 0 / 409.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.03483, allocations: 177.8 kB / 409.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.03483, allocations: 4 kB / 409.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.03485, allocations: 8 kB / 409.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.03485, allocations: 0 / 409.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.03486, allocations: 4.125 kB / 409.9 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.03486, allocations: 4 kB / 409.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.03486, allocations: 0 / 409.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.03503, allocations: 280.1 kB / 410.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.03504, allocations: 19.84 kB / 410.2 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.03505, allocations: 7.922 kB / 410.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.0351, allocations: 7.938 kB / 410.2 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.03511, allocations: 4 kB / 410.2 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.03511, allocations: 4 kB / 410.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.03515, allocations: 127.2 kB / 410.4 MB, free: 7.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03515, allocations: 0 / 410.4 MB, free: 7.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.03594, allocations: 451.3 kB / 410.8 MB, free: 7.5 MB / 330.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.001486/0.03743, allocations: 0.6395 MB / 411.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.03752, allocations: 55.48 kB / 411.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.03752, allocations: 4 kB / 411.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.03757, allocations: 43.67 kB / 411.5 MB, free: 6.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.03782, allocations: 11.98 kB / 411.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000662/0.03848, allocations: 306.4 kB / 411.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.1e-05/0.03853, allocations: 76.02 kB / 411.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.03859, allocations: 23.97 kB / 412 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.03865, allocations: 82.19 kB / 412 MB, free: 6.199 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03865, allocations: 0 / 412 MB, free: 6.199 MB / 330.7 MB Notification: Performance of Templates: time 0.01807/0.05672, allocations: 15.8 MB / 427.8 MB, free: 6.398 MB / 346.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.761194524820894]