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.001231/0.001231, allocations: 76.17 kB / 9.93 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002534, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007673/0.0007673, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001867, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.971/0.971, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08975/1.061, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.239/0.239, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02557/0.2646, allocations: 13.09 MB / 291.3 MB, free: 7.375 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 2.525e-06/2.525e-06, allocations: 3.984 kB / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.663e-05, allocations: 3.844 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01308/0.0131, allocations: 12.56 MB / 305.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.01411, allocations: 1.39 MB / 306.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.01414, allocations: 0 / 306.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.46e-05/0.01423, allocations: 27.83 kB / 306.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.0187, allocations: 1.999 MB / 308.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.15e-06/0.01871, allocations: 4 kB / 308.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.01881, allocations: 35.69 kB / 308.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.01885, allocations: 7.938 kB / 308.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.01896, allocations: 23.97 kB / 308.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.067e-05/0.019, allocations: 11.94 kB / 308.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.01901, allocations: 0 / 308.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.0237, allocations: 3.96 MB / 312.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.02372, allocations: 4 kB / 312.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.02374, allocations: 11.94 kB / 312.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.02602, allocations: 1.923 MB / 314.6 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.02603, allocations: 0 / 314.6 MB, free: 300 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.02603, allocations: 0 / 314.6 MB, free: 300 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.02605, allocations: 3.938 kB / 314.6 MB, free: 296 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.0009324/0.02698, allocations: 0.6769 MB / 315.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.02701, allocations: 8.031 kB / 315.3 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.02712, allocations: 28.86 kB / 315.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.02721, allocations: 105.8 kB / 315.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.02722, allocations: 384 / 315.4 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.02723, allocations: 8.375 kB / 315.4 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.02738, allocations: 83.91 kB / 315.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.02739, allocations: 4.125 kB / 315.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.0274, allocations: 8.125 kB / 315.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.0274, allocations: 0 / 315.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.238e-05/0.02748, allocations: 35.95 kB / 315.5 MB, free: 15.26 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.0002417/0.02772, allocations: 256.4 kB / 315.8 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.267e-05/0.02781, allocations: 54.56 kB / 315.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.02783, allocations: 20.92 kB / 315.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.03814, allocations: 7.033 MB / 322.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.03816, allocations: 38.55 kB / 322.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.03816, allocations: 0 / 322.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002288/0.03839, allocations: 97.56 kB / 323 MB, free: 7.715 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.03842, allocations: 51.41 kB / 323.1 MB, free: 7.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.03847, allocations: 110.7 kB / 323.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.03848, allocations: 33.64 kB / 323.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.03852, allocations: 88.03 kB / 323.3 MB, free: 7.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.03853, allocations: 15.89 kB / 323.3 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.03855, allocations: 21.66 kB / 323.3 MB, free: 7.359 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.03862, allocations: 314.8 kB / 323.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.03863, allocations: 8 kB / 323.6 MB, free: 7.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.03865, allocations: 26.56 kB / 323.7 MB, free: 7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.03868, allocations: 26.56 kB / 323.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.03868, allocations: 128 / 323.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.319e-05/0.03873, allocations: 69.48 kB / 323.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.03875, allocations: 8 kB / 323.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.03875, allocations: 0 / 323.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.03876, allocations: 0 / 323.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.03881, allocations: 16.06 kB / 323.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.03881, allocations: 0 / 323.8 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.03883, allocations: 3.953 kB / 323.8 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.03884, allocations: 11.98 kB / 323.8 MB, free: 6.852 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.85e-05/0.03889, allocations: 109.8 kB / 323.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.0389, allocations: 7.938 kB / 323.9 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.03909, allocations: 260 kB / 324.2 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.0391, allocations: 7.984 kB / 324.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.0391, allocations: 0 / 324.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.0391, allocations: 0 / 324.2 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.03923, allocations: 141.9 kB / 324.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03923, allocations: 0 / 324.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.03925, allocations: 4 kB / 324.3 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.03926, allocations: 19.84 kB / 324.3 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.03927, allocations: 3.938 kB / 324.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.03927, allocations: 0 / 324.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.03927, allocations: 0 / 324.3 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.03927, allocations: 3.984 kB / 324.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.0394, allocations: 270.2 kB / 324.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.03941, allocations: 3.938 kB / 324.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.643e-05/0.03944, allocations: 4 kB / 324.6 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.838e-06/0.03945, allocations: 4 kB / 324.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.03945, allocations: 7.984 kB / 324.6 MB, free: 5.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.009e-05/0.03946, allocations: 9.266 kB / 324.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03946, allocations: 4 kB / 324.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006956/0.04016, allocations: 443.4 kB / 325.1 MB, free: 5.523 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.001241/0.0414, allocations: 0.6695 MB / 325.7 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.093e-05/0.04148, allocations: 44.78 kB / 325.8 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.04148, allocations: 0 / 325.8 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.04152, allocations: 48.77 kB / 325.8 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.04169, allocations: 11.98 kB / 325.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.04319, allocations: 311.7 kB / 326.2 MB, free: 4.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.04323, allocations: 72.08 kB / 326.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.04329, allocations: 23.97 kB / 326.2 MB, free: 4.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.04335, allocations: 63.36 kB / 326.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.04335, allocations: 0 / 326.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of Templates: time 0.01547/0.05882, allocations: 15.33 MB / 341.6 MB, free: 4.887 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0340492809191346]