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.0007737/0.0007737, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.001925, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007049/0.0007049, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001025/0.00173, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09058/1.123, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2736/0.2736, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02691/0.3006, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.313e-06/1.313e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.268e-06/1.058e-05, allocations: 3.156 kB / 292.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01039/0.0104, allocations: 12.57 MB / 305.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.01136, allocations: 1.386 MB / 306.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.01139, allocations: 0 / 306.8 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.94e-05/0.01148, allocations: 27.83 kB / 306.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.01499, allocations: 1.999 MB / 308.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.01499, allocations: 0 / 308.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.802e-05/0.01507, allocations: 39.69 kB / 308.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.01511, allocations: 4 kB / 308.8 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.01518, allocations: 23.91 kB / 308.9 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.606e-05/0.01522, allocations: 15.98 kB / 308.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.01523, allocations: 0 / 308.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.01948, allocations: 3.961 MB / 312.8 MB, free: 2.133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.0195, allocations: 7.938 kB / 312.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.01952, allocations: 8 kB / 312.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.02164, allocations: 1.911 MB / 314.8 MB, free: 204 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.02165, allocations: 3.938 kB / 314.8 MB, free: 200 kB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.02165, allocations: 4 kB / 314.8 MB, free: 196 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.02166, allocations: 0 / 314.8 MB, free: 196 kB / 298.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.0007452/0.02241, allocations: 0.677 MB / 315.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.02244, allocations: 12.02 kB / 315.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.02254, allocations: 20.86 kB / 315.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.984e-05/0.02262, allocations: 109.8 kB / 315.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.02264, allocations: 4.375 kB / 315.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.02265, allocations: 4.375 kB / 315.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.02278, allocations: 83.92 kB / 315.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.02279, allocations: 4.125 kB / 315.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.02279, allocations: 12.06 kB / 315.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.0228, allocations: 0 / 315.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.02287, allocations: 35.95 kB / 315.7 MB, free: 15.15 MB / 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.0002611/0.02313, allocations: 256.4 kB / 316 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.681e-05/0.02323, allocations: 54.55 kB / 316 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.02324, allocations: 12.94 kB / 316.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009963/0.03321, allocations: 7.037 MB / 323.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.03323, allocations: 34.56 kB / 323.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.03323, allocations: 0 / 323.1 MB, free: 7.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002148/0.03345, allocations: 105.5 kB / 323.2 MB, free: 7.613 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.03347, allocations: 51.41 kB / 323.3 MB, free: 7.551 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.03352, allocations: 106.9 kB / 323.4 MB, free: 7.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.03353, allocations: 29.7 kB / 323.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.03356, allocations: 96 kB / 323.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-06/0.03357, allocations: 11.91 kB / 323.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.03359, allocations: 17.72 kB / 323.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.677e-05/0.03366, allocations: 318.8 kB / 323.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.03367, allocations: 7.938 kB / 323.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.03368, allocations: 22.58 kB / 323.9 MB, free: 6.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.03371, allocations: 34.56 kB / 323.9 MB, free: 6.863 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.03372, allocations: 0 / 323.9 MB, free: 6.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.914e-05/0.03376, allocations: 61.55 kB / 324 MB, free: 6.797 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.03378, allocations: 7.938 kB / 324 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.03378, allocations: 0 / 324 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.03379, allocations: 4 kB / 324 MB, free: 6.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.03383, allocations: 12 kB / 324 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.03384, allocations: 0 / 324 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.03385, allocations: 7.953 kB / 324 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.03386, allocations: 4.062 kB / 324 MB, free: 6.762 MB / 314.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 4.752e-05/0.03391, allocations: 117.8 kB / 324.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.03392, allocations: 12 kB / 324.1 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.0341, allocations: 256.1 kB / 324.4 MB, free: 6.367 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.0341, allocations: 4 kB / 324.4 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.0341, allocations: 0 / 324.4 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.03411, allocations: 3.984 kB / 324.4 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.03422, allocations: 137.9 kB / 324.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.03423, allocations: 0 / 324.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.634e-05/0.03424, allocations: 8 kB / 324.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.043e-05/0.03425, allocations: 15.84 kB / 324.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.03426, allocations: 3.938 kB / 324.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.03426, allocations: 8 kB / 324.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.03426, allocations: 0 / 324.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.03426, allocations: 7.984 kB / 324.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.03439, allocations: 266.2 kB / 324.8 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.03439, allocations: 3.938 kB / 324.8 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.03442, allocations: 0 / 324.8 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.03443, allocations: 4 kB / 324.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.03443, allocations: 0 / 324.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.004e-05/0.03444, allocations: 12.84 kB / 324.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03444, allocations: 0 / 324.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005378/0.03498, allocations: 447.4 kB / 325.3 MB, free: 5.426 MB / 314.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.001151/0.03613, allocations: 0.6617 MB / 325.9 MB, free: 4.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.576e-05/0.03621, allocations: 44.84 kB / 326 MB, free: 4.707 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.03621, allocations: 4 kB / 326 MB, free: 4.703 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.489e-05/0.03626, allocations: 52.77 kB / 326 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.03643, allocations: 56.09 kB / 326.1 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.03789, allocations: 295.6 kB / 326.4 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.03792, allocations: 68.08 kB / 326.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.03797, allocations: 27.97 kB / 326.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.03803, allocations: 63.36 kB / 326.5 MB, free: 4.094 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03803, allocations: 0 / 326.5 MB, free: 4.094 MB / 314.7 MB Notification: Performance of Templates: time 0.01385/0.05187, allocations: 15.47 MB / 342 MB, free: 4.629 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.244232446886599]