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.0008787/0.0008788, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0007863/0.0007863, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.33/1.33, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2109/0.2109, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8.281 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.122, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005126/0.1272, allocations: 4.592 MB / 476.8 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004549/0.1317, allocations: 4.505 MB / 481.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1319, allocations: 4 kB / 481.4 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1322, allocations: 43.73 kB / 481.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1338, allocations: 0.6023 MB / 482 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.1342, allocations: 158 kB / 482.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000554/0.1347, allocations: 438.1 kB / 482.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1348, allocations: 9.688 kB / 482.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.135, allocations: 143.4 kB / 482.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.1352, allocations: 139.4 kB / 482.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1353, allocations: 8 kB / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006867/0.136, allocations: 351.6 kB / 483.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.1361, allocations: 55.67 kB / 483.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1362, allocations: 129.2 kB / 483.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.1367, allocations: 415.2 kB / 483.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1367, allocations: 3.938 kB / 483.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1367, allocations: 0 / 483.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1368, allocations: 0 / 483.8 MB, free: 1.762 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.0008566/0.1376, allocations: 0.5345 MB / 484.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1377, allocations: 11.97 kB / 484.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1378, allocations: 28.73 kB / 484.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1381, allocations: 228 kB / 484.6 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.1382, allocations: 123.9 kB / 484.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1382, allocations: 24.38 kB / 484.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.1387, allocations: 327.6 kB / 485.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1388, allocations: 0 / 485.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.993e-05/0.1388, allocations: 12 kB / 485.1 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.1388, allocations: 8 kB / 485.1 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.1396, allocations: 0.739 MB / 485.8 MB, free: 15.6 MB / 366.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.001162/0.1407, allocations: 1.246 MB / 487.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.141, allocations: 150.8 kB / 487.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1412, allocations: 80.58 kB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002007/0.1432, allocations: 2.659 MB / 490 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1432, allocations: 30.56 kB / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1432, allocations: 0 / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005879/0.1438, allocations: 229 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1439, allocations: 59.34 kB / 490.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.144, allocations: 203.9 kB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1441, allocations: 33.7 kB / 490.5 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1442, allocations: 210.8 kB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1442, allocations: 51.34 kB / 490.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1443, allocations: 37.7 kB / 490.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1444, allocations: 326.8 kB / 491.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.1445, allocations: 56.83 kB / 491.2 MB, free: 9.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1447, allocations: 326 kB / 491.5 MB, free: 9.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.1451, allocations: 421.2 kB / 491.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1451, allocations: 4 kB / 491.9 MB, free: 8.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005172/0.1457, allocations: 373.1 kB / 492.3 MB, free: 8.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1457, allocations: 12 kB / 492.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1457, allocations: 8 kB / 492.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.1457, allocations: 12 kB / 492.3 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.1461, allocations: 116.4 kB / 492.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.1461, allocations: 19.94 kB / 492.4 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.1463, allocations: 31.83 kB / 492.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.1464, allocations: 27.94 kB / 492.5 MB, free: 7.969 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.0001437/0.1465, allocations: 149.6 kB / 492.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.1466, allocations: 19.81 kB / 492.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.1469, allocations: 154.9 kB / 492.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.1469, allocations: 7.938 kB / 492.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1469, allocations: 0 / 492.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1469, allocations: 8.016 kB / 492.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.1474, allocations: 423.3 kB / 493.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1474, allocations: 4 kB / 493.2 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.1476, allocations: 39.91 kB / 493.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1476, allocations: 0 / 493.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.1476, allocations: 0 / 493.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1476, allocations: 4 kB / 493.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1476, allocations: 0 / 493.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1478, allocations: 224.1 kB / 493.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-05/0.1479, allocations: 112.8 kB / 493.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.148, allocations: 4.062 kB / 493.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1482, allocations: 15.98 kB / 493.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.1482, allocations: 7.984 kB / 493.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1482, allocations: 11.98 kB / 493.7 MB, free: 6.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.1483, allocations: 148.5 kB / 493.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1483, allocations: 4 kB / 493.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000445/0.1488, allocations: 92 kB / 493.9 MB, free: 6.461 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.0002911/0.1491, allocations: 163.7 kB / 494 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.1494, allocations: 185.4 kB / 494.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1494, allocations: 0 / 494.2 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.1494, allocations: 46.61 kB / 494.3 MB, free: 6.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.1499, allocations: 57.02 kB / 494.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000991/0.1509, allocations: 0.6011 MB / 494.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1512, allocations: 0.7287 MB / 495.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.1515, allocations: 62.92 kB / 495.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.1515, allocations: 27.42 kB / 495.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1516, allocations: 0 / 495.7 MB, free: 4.535 MB / 366.1 MB Notification: Performance of Templates: time 0.006735/0.1583, allocations: 3.302 MB / 499.1 MB, free: 1.258 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches