Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 13.85 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2178/0.2178, allocations: 44.17 MB / 336.1 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.56 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006869/0.128, allocations: 4.982 MB / 473.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.1336, allocations: 4.575 MB / 478.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1338, allocations: 4 kB / 478.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1342, allocations: 47.72 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.1363, allocations: 0.5946 MB / 478.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1368, allocations: 151.3 kB / 478.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009497/0.1377, allocations: 446 kB / 479.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1378, allocations: 13.67 kB / 479.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.1381, allocations: 147.4 kB / 479.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.1384, allocations: 127.5 kB / 479.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.1384, allocations: 7.938 kB / 479.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1394, allocations: 355.5 kB / 479.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1396, allocations: 55.73 kB / 480 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.1397, allocations: 103.5 kB / 480.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008271/0.1406, allocations: 419.2 kB / 480.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1406, allocations: 3.938 kB / 480.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1406, allocations: 0 / 480.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1406, allocations: 0 / 480.5 MB, free: 2.785 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001427/0.1421, allocations: 0.593 MB / 481.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1421, allocations: 8.031 kB / 481.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.1423, allocations: 24.75 kB / 481.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1426, allocations: 236 kB / 481.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.1427, allocations: 119.9 kB / 481.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.1428, allocations: 24.38 kB / 481.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.1433, allocations: 331.6 kB / 481.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1433, allocations: 0 / 481.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.1434, allocations: 12 kB / 481.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.1434, allocations: 8 kB / 481.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009269/0.1443, allocations: 0.7352 MB / 482.6 MB, free: 0.5703 MB / 350.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.001619/0.146, allocations: 1.238 MB / 483.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1464, allocations: 154.7 kB / 484 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.1465, allocations: 76.58 kB / 484 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003181/0.1497, allocations: 2.663 MB / 486.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1498, allocations: 34.56 kB / 486.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1498, allocations: 0 / 486.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007322/0.1505, allocations: 219.2 kB / 487 MB, free: 11.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.1506, allocations: 59.34 kB / 487 MB, free: 11.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1508, allocations: 215.9 kB / 487.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1508, allocations: 29.7 kB / 487.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.1509, allocations: 210.8 kB / 487.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.151, allocations: 51.36 kB / 487.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1511, allocations: 81.94 kB / 487.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1512, allocations: 330.8 kB / 487.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-05/0.1513, allocations: 56.83 kB / 488 MB, free: 10.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.1516, allocations: 326 kB / 488.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.1521, allocations: 417.2 kB / 488.7 MB, free: 9.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1521, allocations: 7.938 kB / 488.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005844/0.1527, allocations: 373.4 kB / 489.1 MB, free: 9.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1527, allocations: 8 kB / 489.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1527, allocations: 8 kB / 489.1 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.1528, allocations: 16 kB / 489.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.1532, allocations: 115.7 kB / 489.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.1532, allocations: 15.94 kB / 489.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.1534, allocations: 28.42 kB / 489.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.1535, allocations: 28 kB / 489.3 MB, free: 8.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 0.0002704/0.1538, allocations: 145.6 kB / 489.4 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.1538, allocations: 23.72 kB / 489.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.1541, allocations: 159.5 kB / 489.6 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.1542, allocations: 3.938 kB / 489.6 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.1542, allocations: 4.062 kB / 489.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1542, allocations: 7.922 kB / 489.6 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.1549, allocations: 422.3 kB / 490 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1549, allocations: 4.031 kB / 490 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1551, allocations: 43.84 kB / 490.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1551, allocations: 0 / 490.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.1552, allocations: 7.984 kB / 490.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1552, allocations: 0 / 490.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1552, allocations: 0 / 490.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1554, allocations: 216.2 kB / 490.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.1555, allocations: 108.8 kB / 490.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1556, allocations: 15.92 kB / 490.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.1557, allocations: 4 kB / 490.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1558, allocations: 15.92 kB / 490.4 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1558, allocations: 7.984 kB / 490.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1559, allocations: 144.5 kB / 490.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1559, allocations: 0 / 490.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004903/0.1564, allocations: 99.98 kB / 490.7 MB, free: 7.391 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000393/0.1568, allocations: 167.6 kB / 490.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1572, allocations: 178.1 kB / 491 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1572, allocations: 4.062 kB / 491 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-05/0.1572, allocations: 35.92 kB / 491.1 MB, free: 7.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.1577, allocations: 56.33 kB / 491.1 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.1587, allocations: 0.566 MB / 491.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.1591, allocations: 0.7248 MB / 492.4 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.1594, allocations: 62.92 kB / 492.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.1595, allocations: 27.42 kB / 492.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1595, allocations: 0 / 492.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of Templates: time 0.007296/0.1668, allocations: 3.32 MB / 495.8 MB, free: 2.223 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches