Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001281, allocations: 114.8 kB / 16.41 MB, free: 6.488 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.001198/0.001197, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.61/1.61, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2176/0.2176, allocations: 43.52 MB / 314.1 MB, free: 460 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.001464/0.001464, allocations: 68.36 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1314, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006031/0.1375, allocations: 4.553 MB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00429/0.1418, allocations: 4.014 MB / 0.4963 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.142, allocations: 0 / 0.4963 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.1423, allocations: 55.59 kB / 0.4963 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.1441, allocations: 0.7227 MB / 0.497 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1445, allocations: 139.6 kB / 0.4972 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.145, allocations: 378.2 kB / 0.4975 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.61e-05/0.1451, allocations: 13.69 kB / 0.4976 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.1453, allocations: 143.4 kB / 0.4977 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.1456, allocations: 147.5 kB / 0.4978 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1456, allocations: 8 kB / 0.4978 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.1465, allocations: 419.5 kB / 0.4982 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.1466, allocations: 51.75 kB / 0.4983 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1467, allocations: 103.5 kB / 0.4984 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.1474, allocations: 470.8 kB / 0.4988 GB, free: 0.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1475, allocations: 0 / 0.4988 GB, free: 0.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1475, allocations: 3.938 kB / 0.4988 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1475, allocations: 0 / 0.4988 GB, free: 0.5391 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001216/0.1487, allocations: 0.5931 MB / 0.4994 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1488, allocations: 19.83 kB / 0.4994 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1489, allocations: 28.66 kB / 0.4995 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.1494, allocations: 228 kB / 0.4997 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.1495, allocations: 123.9 kB / 0.4998 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1496, allocations: 24.36 kB / 0.4998 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.1501, allocations: 331.6 kB / 0.5001 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.1501, allocations: 3.984 kB / 0.5001 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.1502, allocations: 8 kB / 0.5001 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1502, allocations: 8 kB / 0.5002 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.1511, allocations: 0.7352 MB / 0.5009 GB, free: 14.31 MB / 398.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.001354/0.1524, allocations: 1.3 MB / 0.5021 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.1528, allocations: 163.8 kB / 0.5023 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.1529, allocations: 93.36 kB / 0.5024 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/0.1556, allocations: 2.81 MB / 0.5051 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1556, allocations: 38.56 kB / 0.5052 GB, free: 9.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.883e-06/0.1556, allocations: 0 / 0.5052 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002905/0.1559, allocations: 121.3 kB / 0.5053 GB, free: 9.117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.156, allocations: 51.41 kB / 0.5053 GB, free: 9.055 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1562, allocations: 219.8 kB / 0.5055 GB, free: 8.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1562, allocations: 29.7 kB / 0.5056 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.1564, allocations: 222.5 kB / 0.5058 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.1564, allocations: 43.45 kB / 0.5058 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.1565, allocations: 85.97 kB / 0.5059 GB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1566, allocations: 326.8 kB / 0.5062 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.275e-05/0.1567, allocations: 52.83 kB / 0.5063 GB, free: 8.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.157, allocations: 343.2 kB / 0.5066 GB, free: 7.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.1575, allocations: 440.6 kB / 0.507 GB, free: 7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1575, allocations: 4 kB / 0.507 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005444/0.158, allocations: 392.8 kB / 0.5074 GB, free: 6.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1581, allocations: 8 kB / 0.5074 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1581, allocations: 12.91 kB / 0.5074 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/0.1581, allocations: 19.92 kB / 0.5074 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.1584, allocations: 103.8 kB / 0.5075 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.1584, allocations: 19.92 kB / 0.5076 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1586, allocations: 47.53 kB / 0.5076 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1587, allocations: 32 kB / 0.5076 GB, free: 6.367 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001529/0.1588, allocations: 153.6 kB / 0.5078 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.1589, allocations: 19.81 kB / 0.5078 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.1591, allocations: 140.5 kB / 0.5079 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.1592, allocations: 3.938 kB / 0.5079 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1592, allocations: 0 / 0.5079 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1592, allocations: 0 / 0.5079 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.1597, allocations: 416.8 kB / 0.5083 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1597, allocations: 4 kB / 0.5083 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.1597, allocations: 8 kB / 0.5083 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1597, allocations: 4 kB / 0.5083 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1598, allocations: 7.938 kB / 0.5084 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1598, allocations: 0 / 0.5084 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1598, allocations: 4 kB / 0.5084 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.16, allocations: 213.8 kB / 0.5086 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.1601, allocations: 96.91 kB / 0.5087 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1601, allocations: 3.938 kB / 0.5087 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1602, allocations: 4 kB / 0.5087 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.1603, allocations: 11.98 kB / 0.5087 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1603, allocations: 8 kB / 0.5087 GB, free: 5.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1605, allocations: 156.5 kB / 0.5088 GB, free: 5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1605, allocations: 0 / 0.5088 GB, free: 5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.161, allocations: 95.84 kB / 0.5089 GB, free: 4.906 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002949/0.1613, allocations: 159.3 kB / 0.5091 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1616, allocations: 174 kB / 0.5092 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1616, allocations: 0 / 0.5092 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.836e-05/0.1616, allocations: 19.94 kB / 0.5093 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.162, allocations: 53.09 kB / 0.5093 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.1629, allocations: 0.5231 MB / 0.5098 GB, free: 3.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1633, allocations: 0.7245 MB / 0.5105 GB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.1634, allocations: 55.27 kB / 0.5106 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.1635, allocations: 23.44 kB / 0.5106 GB, free: 3.117 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1635, allocations: 3.938 kB / 0.5106 GB, free: 3.113 MB / 398.1 MB Notification: Performance of Templates: time 0.006875/0.1704, allocations: 3.133 MB / 0.5137 GB, free: 15.99 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches