Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001359/0.001359, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 218.5 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.2 MB / 256.2 MB, free: 8.504 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.92 MB / 359.4 MB, free: 4.832 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 75.86 kB / 0.4946 GB, free: 8.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 65.99 MB / 0.5591 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01592/0.3158, allocations: 12.61 MB / 0.5714 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3174, allocations: 1.393 MB / 0.5727 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.3174, allocations: 4 kB / 0.5727 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.3176, allocations: 27.81 kB / 0.5728 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.3223, allocations: 2.238 MB / 0.575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.747e-06/0.3223, allocations: 0 / 0.575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.3224, allocations: 39.73 kB / 0.575 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.3224, allocations: 3.984 kB / 0.575 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3225, allocations: 15.92 kB / 0.575 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.3225, allocations: 15.94 kB / 0.575 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.3226, allocations: 4 kB / 0.575 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006001/0.3286, allocations: 3.854 MB / 0.5788 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.3286, allocations: 3.984 kB / 0.5788 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.3286, allocations: 15.94 kB / 0.5788 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.3311, allocations: 1.984 MB / 0.5807 GB, free: 14.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3312, allocations: 0 / 0.5807 GB, free: 14.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3312, allocations: 0 / 0.5807 GB, free: 14.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3312, allocations: 0 / 0.5807 GB, free: 14.75 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.001101/0.3323, allocations: 0.5681 MB / 0.5813 GB, free: 14.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3323, allocations: 8.031 kB / 0.5813 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3324, allocations: 12.89 kB / 0.5813 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3326, allocations: 172.2 kB / 0.5815 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.3326, allocations: 4.359 kB / 0.5815 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3326, allocations: 12.38 kB / 0.5815 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.3329, allocations: 83.5 kB / 0.5816 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.3329, allocations: 0 / 0.5816 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3329, allocations: 7.984 kB / 0.5816 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3329, allocations: 4 kB / 0.5816 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3331, allocations: 47.89 kB / 0.5816 GB, free: 13.75 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.0004632/0.3335, allocations: 364.9 kB / 0.582 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.3337, allocations: 54.53 kB / 0.582 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.3337, allocations: 16.8 kB / 0.5821 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02125/0.355, allocations: 10.42 MB / 0.5922 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.355, allocations: 30.56 kB / 0.5923 GB, free: 1.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.355, allocations: 0 / 0.5923 GB, free: 1.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004559/0.3555, allocations: 105.6 kB / 0.5924 GB, free: 1.496 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3555, allocations: 51.41 kB / 0.5924 GB, free: 1.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.3556, allocations: 97.84 kB / 0.5925 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3556, allocations: 29.7 kB / 0.5925 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.3557, allocations: 88.09 kB / 0.5926 GB, free: 1.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.3557, allocations: 15.84 kB / 0.5926 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.3557, allocations: 25.7 kB / 0.5927 GB, free: 1.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3559, allocations: 322.7 kB / 0.593 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.3559, allocations: 4 kB / 0.593 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/0.3559, allocations: 34.56 kB / 0.593 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.356, allocations: 38.58 kB / 0.593 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.356, allocations: 0 / 0.593 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001024/0.3561, allocations: 61.62 kB / 0.5931 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3561, allocations: 4 kB / 0.5931 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3561, allocations: 7.875 kB / 0.5931 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3561, allocations: 7.984 kB / 0.5931 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.3562, allocations: 8 kB / 0.5931 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3562, allocations: 0 / 0.5931 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.3562, allocations: 11.89 kB / 0.5931 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3562, allocations: 8 kB / 0.5931 GB, free: 0.625 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 8.304e-05/0.3563, allocations: 113.8 kB / 0.5933 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.3563, allocations: 0 / 0.5933 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.3568, allocations: 376.1 kB / 0.5936 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3568, allocations: 7.984 kB / 0.5936 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3568, allocations: 0 / 0.5936 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3568, allocations: 3.984 kB / 0.5936 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.3571, allocations: 290.1 kB / 0.5939 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3571, allocations: 4 kB / 0.5939 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.963e-05/0.3571, allocations: 4 kB / 0.5939 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3571, allocations: 0 / 0.5939 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3572, allocations: 0 / 0.5939 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3572, allocations: 4 kB / 0.5939 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3572, allocations: 0 / 0.5939 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.3574, allocations: 281.7 kB / 0.5942 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.3575, allocations: 104.9 kB / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3575, allocations: 4 kB / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.3576, allocations: 0 / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.3576, allocations: 4 kB / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3576, allocations: 256 / 0.5943 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.65e-05/0.3576, allocations: 95.14 kB / 0.5944 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3576, allocations: 0 / 0.5944 GB, free: 15.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3587, allocations: 447.3 kB / 0.5948 GB, free: 14.82 MB / 446.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.001645/0.3604, allocations: 0.557 MB / 0.5954 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.3605, allocations: 83.84 kB / 0.5954 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3605, allocations: 0 / 0.5954 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.3606, allocations: 63.97 kB / 0.5955 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3609, allocations: 21.95 kB / 0.5955 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.3614, allocations: 308.3 kB / 0.5958 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3617, allocations: 0.7086 MB / 0.5965 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.3618, allocations: 31.95 kB / 0.5965 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.3618, allocations: 15.38 kB / 0.5965 GB, free: 12.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3618, allocations: 0 / 0.5965 GB, free: 12.98 MB / 446.1 MB Notification: Performance of Templates: time 0.01954/0.3813, allocations: 13.77 MB / 0.61 GB, free: 15.2 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.616686106659472]