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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.11 MB / 344.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 77.84 kB / 418.3 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.139, allocations: 62.45 MB / 480.8 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01717/0.1562, allocations: 12.48 MB / 493.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1579, allocations: 1.397 MB / 494.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.158, allocations: 0 / 494.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.1583, allocations: 39.78 kB / 494.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006377/0.1646, allocations: 2.229 MB / 496.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.335e-06/0.1647, allocations: 0 / 496.9 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.1648, allocations: 39.69 kB / 496.9 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.1648, allocations: 7.984 kB / 497 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.1649, allocations: 15.94 kB / 497 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.165, allocations: 15.92 kB / 497 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-06/0.165, allocations: 0 / 497 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007128/0.1721, allocations: 3.75 MB / 0.489 GB, free: 1.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1722, allocations: 3.984 kB / 0.489 GB, free: 1.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.402e-05/0.1723, allocations: 19.94 kB / 0.489 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.177, allocations: 1.985 MB / 0.491 GB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.177, allocations: 0 / 0.491 GB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.177, allocations: 3.938 kB / 0.491 GB, free: 15.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.177, allocations: 0 / 0.491 GB, free: 15.18 MB / 382.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.001386/0.1784, allocations: 0.5538 MB / 0.4915 GB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1785, allocations: 12.03 kB / 0.4915 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1786, allocations: 8.922 kB / 0.4915 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1788, allocations: 168.4 kB / 0.4917 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1788, allocations: 8.375 kB / 0.4917 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1788, allocations: 8.312 kB / 0.4917 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.1791, allocations: 91.48 kB / 0.4918 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1791, allocations: 0 / 0.4918 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1792, allocations: 0 / 0.4918 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1792, allocations: 0 / 0.4918 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1793, allocations: 47.95 kB / 0.4918 GB, free: 14.19 MB / 382.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.0005035/0.1799, allocations: 368.8 kB / 0.4922 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1801, allocations: 54.55 kB / 0.4922 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.1801, allocations: 24.94 kB / 0.4923 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02305/0.2032, allocations: 10.37 MB / 0.5024 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.2033, allocations: 38.55 kB / 0.5024 GB, free: 2.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.2033, allocations: 0 / 0.5024 GB, free: 2.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005202/0.2038, allocations: 105.6 kB / 0.5025 GB, free: 1.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2039, allocations: 51.41 kB / 0.5026 GB, free: 1.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.204, allocations: 105.8 kB / 0.5027 GB, free: 1.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.204, allocations: 25.7 kB / 0.5027 GB, free: 1.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.204, allocations: 88.03 kB / 0.5028 GB, free: 1.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.2041, allocations: 15.91 kB / 0.5028 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.2041, allocations: 17.72 kB / 0.5028 GB, free: 1.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2043, allocations: 318.8 kB / 0.5031 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.2043, allocations: 8 kB / 0.5031 GB, free: 1.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.73e-05/0.2044, allocations: 26.58 kB / 0.5031 GB, free: 1.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/0.2044, allocations: 42.5 kB / 0.5032 GB, free: 1.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2044, allocations: 128 / 0.5032 GB, free: 1.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001168/0.2046, allocations: 69.91 kB / 0.5033 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2046, allocations: 6.344 kB / 0.5033 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2046, allocations: 4 kB / 0.5033 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2046, allocations: 3.938 kB / 0.5033 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.2047, allocations: 11.98 kB / 0.5033 GB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.2047, allocations: 3.938 kB / 0.5033 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.2048, allocations: 11.98 kB / 0.5033 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2048, allocations: 15.92 kB / 0.5033 GB, free: 1.102 MB / 382.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.58e-05/0.2049, allocations: 109.8 kB / 0.5034 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.2049, allocations: 0 / 0.5034 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00046/0.2054, allocations: 379.7 kB / 0.5038 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.2054, allocations: 7.984 kB / 0.5038 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2054, allocations: 0 / 0.5038 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2054, allocations: 0 / 0.5038 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.2058, allocations: 293.8 kB / 0.5041 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2058, allocations: 0 / 0.5041 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.2058, allocations: 11.94 kB / 0.5041 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2058, allocations: 0 / 0.5041 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.2058, allocations: 4 kB / 0.5041 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2058, allocations: 0 / 0.5041 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2059, allocations: 3.984 kB / 0.5041 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2414/0.4473, allocations: 277.8 kB / 0.5043 GB, free: 43.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.4474, allocations: 93.03 kB / 0.5044 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.4474, allocations: 2.406 kB / 0.5044 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.4475, allocations: 2.812 kB / 0.5044 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.4475, allocations: 3.891 kB / 0.5044 GB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.4475, allocations: 1.406 kB / 0.5044 GB, free: 43.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.4476, allocations: 86.77 kB / 0.5045 GB, free: 43.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4476, allocations: 2.031 kB / 0.5045 GB, free: 43.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001651/0.4492, allocations: 446.2 kB / 0.505 GB, free: 43.1 MB / 382.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.001804/0.4511, allocations: 0.5544 MB / 0.5055 GB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.4513, allocations: 90.45 kB / 0.5056 GB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.4513, allocations: 3.75 kB / 0.5056 GB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.406e-05/0.4514, allocations: 86.2 kB / 0.5057 GB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4517, allocations: 21.27 kB / 0.5057 GB, free: 43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.4523, allocations: 321.5 kB / 0.506 GB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.4524, allocations: 0.7168 MB / 0.5067 GB, free: 42.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.4524, allocations: 13.19 kB / 0.5067 GB, free: 42.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4524, allocations: 7.281 kB / 0.5067 GB, free: 42.14 MB / 382.1 MB Notification: Performance of Templates: time 0.0197/0.4721, allocations: 9.059 MB / 0.5156 GB, free: 40.2 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches