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.00133/0.00133, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001472/0.001472, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 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.2268/0.2268, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 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 0.002038/0.002038, allocations: 71.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2886, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01553/0.3041, allocations: 11.47 MB / 0.573 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3056, allocations: 1.218 MB / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.3056, allocations: 0 / 0.5742 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.3058, allocations: 31.81 kB / 0.5742 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.3107, allocations: 2.213 MB / 0.5764 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.3107, allocations: 0 / 0.5764 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.3108, allocations: 31.75 kB / 0.5764 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.3109, allocations: 3.984 kB / 0.5764 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.3109, allocations: 23.86 kB / 0.5764 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.311, allocations: 11.94 kB / 0.5764 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.311, allocations: 7.938 kB / 0.5765 GB, free: 5.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006215/0.3172, allocations: 3.832 MB / 0.5802 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.3172, allocations: 0 / 0.5802 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.3173, allocations: 15.94 kB / 0.5802 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.3202, allocations: 1.984 MB / 0.5821 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3202, allocations: 4 kB / 0.5822 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3202, allocations: 0 / 0.5822 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3202, allocations: 0 / 0.5822 GB, free: 15.26 MB / 430.1 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.001073/0.3212, allocations: 0.4889 MB / 0.5826 GB, free: 14.74 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3213, allocations: 16.03 kB / 0.5826 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.3214, allocations: 8.891 kB / 0.5827 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3215, allocations: 118.5 kB / 0.5828 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3216, allocations: 384 / 0.5828 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3216, allocations: 8.375 kB / 0.5828 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3218, allocations: 91.44 kB / 0.5829 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3218, allocations: 0 / 0.5829 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3218, allocations: 0 / 0.5829 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3218, allocations: 4 kB / 0.5829 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.322, allocations: 43.95 kB / 0.5829 GB, free: 14.42 MB / 430.1 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.0004604/0.3225, allocations: 312.5 kB / 0.5832 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.3227, allocations: 58.53 kB / 0.5833 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.3227, allocations: 12.86 kB / 0.5833 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0206/0.3433, allocations: 5.683 MB / 0.5888 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3433, allocations: 30.56 kB / 0.5889 GB, free: 8.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.3433, allocations: 4 kB / 0.5889 GB, free: 8.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004629/0.3438, allocations: 109.6 kB / 0.589 GB, free: 8.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.3438, allocations: 51.41 kB / 0.589 GB, free: 8.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.3439, allocations: 101.8 kB / 0.5891 GB, free: 7.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3439, allocations: 29.7 kB / 0.5891 GB, free: 7.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.344, allocations: 84.09 kB / 0.5892 GB, free: 7.859 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.344, allocations: 15.84 kB / 0.5892 GB, free: 7.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3441, allocations: 21.7 kB / 0.5893 GB, free: 7.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3442, allocations: 318.8 kB / 0.5896 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.3442, allocations: 4 kB / 0.5896 GB, free: 7.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.3443, allocations: 30.56 kB / 0.5896 GB, free: 7.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.391e-05/0.3443, allocations: 42.52 kB / 0.5896 GB, free: 7.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3443, allocations: 0 / 0.5896 GB, free: 7.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001168/0.3444, allocations: 70.08 kB / 0.5897 GB, free: 7.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3445, allocations: 14.27 kB / 0.5897 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3445, allocations: 4 kB / 0.5897 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3445, allocations: 0 / 0.5897 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.3446, allocations: 12 kB / 0.5897 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3446, allocations: 0 / 0.5897 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.3446, allocations: 4.109 kB / 0.5897 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3446, allocations: 11.92 kB / 0.5897 GB, free: 7.285 MB / 430.1 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 9.183e-05/0.3447, allocations: 121.7 kB / 0.5899 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3447, allocations: 0 / 0.5899 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004573/0.3452, allocations: 387.1 kB / 0.5902 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.3452, allocations: 7.984 kB / 0.5902 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3452, allocations: 0 / 0.5902 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3452, allocations: 0 / 0.5902 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3454, allocations: 225.8 kB / 0.5904 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3454, allocations: 4 kB / 0.5905 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.3455, allocations: 8 kB / 0.5905 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3455, allocations: 0 / 0.5905 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3455, allocations: 0 / 0.5905 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3455, allocations: 0 / 0.5905 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3455, allocations: 3.938 kB / 0.5905 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3458, allocations: 293.7 kB / 0.5907 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.3458, allocations: 15.89 kB / 0.5908 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3458, allocations: 7.984 kB / 0.5908 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.3459, allocations: 0 / 0.5908 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.3459, allocations: 0 / 0.5908 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3459, allocations: 8 kB / 0.5908 GB, free: 6.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.3459, allocations: 79.28 kB / 0.5908 GB, free: 6.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3459, allocations: 0 / 0.5908 GB, free: 6.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001114/0.347, allocations: 451.3 kB / 0.5913 GB, free: 5.645 MB / 430.1 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.001853/0.3489, allocations: 0.561 MB / 0.5918 GB, free: 5.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.3491, allocations: 87.84 kB / 0.5919 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3491, allocations: 4 kB / 0.5919 GB, free: 4.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.617e-05/0.3491, allocations: 63.97 kB / 0.592 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3495, allocations: 19.88 kB / 0.592 GB, free: 4.902 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.3499, allocations: 309 kB / 0.5923 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.35, allocations: 105.8 kB / 0.5924 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.491e-05/0.3501, allocations: 27.95 kB / 0.5924 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.3501, allocations: 11.44 kB / 0.5924 GB, free: 4.406 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3501, allocations: 0 / 0.5924 GB, free: 4.406 MB / 430.1 MB Notification: Performance of Templates: time 0.02085/0.371, allocations: 13.87 MB / 0.606 GB, free: 6.539 MB / 446.1 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/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.41398265400494]