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.001314/0.001314, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00115/0.00115, allocations: 168.7 kB / 24.91 MB, free: 9.195 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 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2405/0.2405, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.033e-05, allocations: 4.109 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01131/0.01133, allocations: 12.52 MB / 337.8 MB, free: 11.11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009407/0.01227, allocations: 1.379 MB / 339.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.0123, allocations: 3.938 kB / 339.2 MB, free: 9.719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.01248, allocations: 23.89 kB / 339.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002858/0.01534, allocations: 1.995 MB / 341.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.126e-06/0.01534, allocations: 0 / 341.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.01542, allocations: 47.67 kB / 341.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.01545, allocations: 0 / 341.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.737e-05/0.01554, allocations: 27.86 kB / 341.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.01557, allocations: 12 kB / 341.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.01558, allocations: 0 / 341.3 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/0.01962, allocations: 3.958 MB / 345.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.01963, allocations: 0 / 345.2 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.01965, allocations: 12 kB / 345.2 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.02167, allocations: 2.569 MB / 347.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.02168, allocations: 0 / 347.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02168, allocations: 0 / 347.8 MB, free: 1.059 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.02168, allocations: 0 / 347.8 MB, free: 1.059 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.0006155/0.0223, allocations: 487.9 kB / 348.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.02233, allocations: 8.031 kB / 348.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.02246, allocations: 28.84 kB / 348.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.02254, allocations: 109.8 kB / 348.4 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.02255, allocations: 384 / 348.4 MB, free: 400 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.02256, allocations: 8.375 kB / 348.4 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.02271, allocations: 83.86 kB / 348.5 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.02272, allocations: 4.188 kB / 348.5 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.02273, allocations: 8.125 kB / 348.5 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.02273, allocations: 0 / 348.5 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.843e-05/0.02281, allocations: 31.97 kB / 348.6 MB, free: 252 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.0002645/0.02307, allocations: 264.3 kB / 348.8 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.02317, allocations: 50.61 kB / 348.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.02319, allocations: 12.84 kB / 348.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.03365, allocations: 7.041 MB / 355.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.03367, allocations: 30.56 kB / 356 MB, free: 8.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.03367, allocations: 0 / 356 MB, free: 8.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002377/0.03391, allocations: 101.5 kB / 356.1 MB, free: 8.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.03393, allocations: 59.34 kB / 356.1 MB, free: 8.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.03398, allocations: 110.7 kB / 356.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.03399, allocations: 25.7 kB / 356.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.03402, allocations: 92.02 kB / 356.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.368e-06/0.03403, allocations: 15.89 kB / 356.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.03406, allocations: 17.72 kB / 356.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.03412, allocations: 314.8 kB / 356.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.03413, allocations: 4 kB / 356.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/0.03414, allocations: 26.56 kB / 356.7 MB, free: 7.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.03418, allocations: 42.44 kB / 356.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.03418, allocations: 0 / 356.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.441e-05/0.03423, allocations: 57.55 kB / 356.8 MB, free: 7.879 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.03424, allocations: 8 kB / 356.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.03425, allocations: 0 / 356.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.03426, allocations: 0 / 356.8 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.023e-05/0.0343, allocations: 8 kB / 356.8 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.0343, allocations: 4 kB / 356.8 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.03432, allocations: 4.078 kB / 356.8 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.03433, allocations: 12.06 kB / 356.8 MB, free: 7.844 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 5.199e-05/0.03438, allocations: 109.8 kB / 356.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.0344, allocations: 11.92 kB / 357 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.0346, allocations: 260 kB / 357.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.0346, allocations: 0 / 357.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.0346, allocations: 0 / 357.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.03461, allocations: 0 / 357.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.03474, allocations: 141.9 kB / 357.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.03474, allocations: 4 kB / 357.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.03476, allocations: 4 kB / 357.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.03476, allocations: 4 kB / 357.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.03476, allocations: 3.938 kB / 357.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.03476, allocations: 0 / 357.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03476, allocations: 4 kB / 357.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.0349, allocations: 258.2 kB / 357.6 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.03491, allocations: 20.25 kB / 357.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.03492, allocations: 7.938 kB / 357.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.03495, allocations: 4 kB / 357.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.03496, allocations: 0 / 357.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.03496, allocations: 0 / 357.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.172e-05/0.03498, allocations: 20.81 kB / 357.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03498, allocations: 4 kB / 357.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006165/0.03559, allocations: 447.4 kB / 358.1 MB, free: 6.512 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.001183/0.03677, allocations: 0.6601 MB / 358.8 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.43e-05/0.03685, allocations: 48.72 kB / 358.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.03685, allocations: 128 / 358.8 MB, free: 5.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.03689, allocations: 48.95 kB / 358.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.03704, allocations: 16.64 kB / 358.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.03761, allocations: 307.5 kB / 359.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.788e-05/0.03765, allocations: 72.08 kB / 359.3 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.0377, allocations: 23.95 kB / 359.3 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.03775, allocations: 63.31 kB / 359.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03775, allocations: 0 / 359.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of Templates: time 0.01345/0.0512, allocations: 15.3 MB / 374.6 MB, free: 5.918 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 -s gbode -gbm=radauIIA3 -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.138959704898298]