Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001525/0.001524, allocations: 108.1 kB / 17.03 MB, free: 5.703 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.001965/0.001965, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2335/0.2335, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 73.61 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 57.78 MB / 441.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005013/0.128, allocations: 4.975 MB / 446.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.1332, allocations: 4.567 MB / 451.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.1335, allocations: 4 kB / 451.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.1341, allocations: 55.59 kB / 451.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.1365, allocations: 0.6526 MB / 452.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1369, allocations: 147.5 kB / 452.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.1375, allocations: 370.1 kB / 452.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.353e-05/0.1376, allocations: 25.66 kB / 452.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1378, allocations: 151.5 kB / 452.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.138, allocations: 127.5 kB / 453 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1381, allocations: 8 kB / 453 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008949/0.139, allocations: 335.6 kB / 453.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.1391, allocations: 47.81 kB / 453.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1392, allocations: 103.5 kB / 453.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007863/0.14, allocations: 422.9 kB / 453.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.14, allocations: 0 / 453.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.14, allocations: 4 kB / 453.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1401, allocations: 0 / 453.9 MB, free: 10.15 MB / 334.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.001135/0.1412, allocations: 0.5775 MB / 454.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1413, allocations: 11.89 kB / 454.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1414, allocations: 24.75 kB / 454.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.1418, allocations: 228.1 kB / 454.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.142, allocations: 131.9 kB / 454.9 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.142, allocations: 28.25 kB / 454.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.1426, allocations: 323.6 kB / 455.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1426, allocations: 3.938 kB / 455.2 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.1427, allocations: 12 kB / 455.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.1427, allocations: 12 kB / 455.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.1435, allocations: 0.7313 MB / 456 MB, free: 7.945 MB / 334.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.001334/0.1448, allocations: 1.253 MB / 457.2 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1452, allocations: 150.5 kB / 457.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1453, allocations: 84.81 kB / 457.5 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/0.1478, allocations: 2.643 MB / 460.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1479, allocations: 50.48 kB / 460.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.834e-06/0.1479, allocations: 0 / 460.1 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006921/0.1486, allocations: 212.4 kB / 460.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1486, allocations: 55.34 kB / 460.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1488, allocations: 219.9 kB / 460.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1488, allocations: 25.7 kB / 460.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.149, allocations: 210.8 kB / 460.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.149, allocations: 55.28 kB / 460.9 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1491, allocations: 85.95 kB / 461 MB, free: 2.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1493, allocations: 330.8 kB / 461.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.1494, allocations: 48.84 kB / 461.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.1497, allocations: 322.1 kB / 461.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000447/0.1502, allocations: 421.2 kB / 462.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1502, allocations: 4 kB / 462.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006027/0.1508, allocations: 373.6 kB / 462.5 MB, free: 500 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.1508, allocations: 8 kB / 462.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.1509, allocations: 16.12 kB / 462.5 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.1509, allocations: 12 kB / 462.5 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.1512, allocations: 107.8 kB / 462.6 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.646e-05/0.1513, allocations: 23.98 kB / 462.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1515, allocations: 20 kB / 462.6 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1516, allocations: 28 kB / 462.7 MB, free: 284 kB / 334.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.0001602/0.1517, allocations: 153.5 kB / 462.8 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.1518, allocations: 19.81 kB / 462.8 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.1521, allocations: 155.1 kB / 463 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.1522, allocations: 3.938 kB / 463 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1522, allocations: 0 / 463 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1522, allocations: 8 kB / 463 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.1528, allocations: 427.1 kB / 463.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1528, allocations: 0 / 463.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1529, allocations: 39.86 kB / 463.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.319e-06/0.153, allocations: 0 / 463.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.153, allocations: 11.88 kB / 463.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.153, allocations: 0 / 463.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.153, allocations: 0 / 463.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.1533, allocations: 224.1 kB / 463.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1534, allocations: 100.8 kB / 463.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1535, allocations: 11.98 kB / 463.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1537, allocations: 7.984 kB / 463.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1537, allocations: 11.98 kB / 463.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1537, allocations: 4.047 kB / 463.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.1538, allocations: 152.5 kB / 464 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.1539, allocations: 4 kB / 464 MB, free: 14.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.1544, allocations: 95.94 kB / 464.1 MB, free: 14.77 MB / 350.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.0004328/0.1548, allocations: 167 kB / 464.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1552, allocations: 185 kB / 464.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1552, allocations: 0 / 464.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.1553, allocations: 37.42 kB / 464.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1557, allocations: 54.73 kB / 464.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.1567, allocations: 493.8 kB / 465 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.157, allocations: 0.7284 MB / 465.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.1572, allocations: 66.91 kB / 465.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.1573, allocations: 27.44 kB / 465.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1573, allocations: 0 / 465.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of Templates: time 0.008066/0.1654, allocations: 3.422 MB / 469.2 MB, free: 9.574 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches