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.001348/0.001349, allocations: 99.89 kB / 17.08 MB, free: 5.988 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.001403/0.001403, allocations: 198.2 kB / 18.01 MB, free: 5.074 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.559/1.559, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2151/0.2151, allocations: 43.52 MB / 314.8 MB, free: 472 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.001713/0.001713, allocations: 71.88 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1194, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006475/0.1259, allocations: 4.54 MB / 0.493 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.1304, allocations: 4.01 MB / 0.4969 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1306, allocations: 0 / 0.4969 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.1309, allocations: 55.59 kB / 0.497 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.133, allocations: 0.7227 MB / 0.4977 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1333, allocations: 143.7 kB / 0.4978 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007014/0.1341, allocations: 374.1 kB / 0.4982 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.1341, allocations: 13.69 kB / 0.4982 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.1345, allocations: 139.5 kB / 0.4983 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.1348, allocations: 147.5 kB / 0.4985 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.1349, allocations: 8 kB / 0.4985 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.1362, allocations: 419.5 kB / 0.4989 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1363, allocations: 47.75 kB / 0.4989 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.1365, allocations: 111.5 kB / 0.499 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.1377, allocations: 474.8 kB / 0.4995 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1378, allocations: 0 / 0.4995 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1378, allocations: 3.938 kB / 0.4995 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1378, allocations: 0 / 0.4995 GB, free: 0.5586 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.001364/0.1392, allocations: 0.5892 MB / 0.5001 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1392, allocations: 19.83 kB / 0.5001 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.1394, allocations: 28.66 kB / 0.5001 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1397, allocations: 224.1 kB / 0.5003 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.1399, allocations: 127.9 kB / 0.5005 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1399, allocations: 16.38 kB / 0.5005 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.1404, allocations: 339.5 kB / 0.5008 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1405, allocations: 0 / 0.5008 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.1405, allocations: 12 kB / 0.5008 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.1405, allocations: 8 kB / 0.5008 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.1414, allocations: 0.7352 MB / 0.5015 GB, free: 14.33 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.001485/0.1429, allocations: 1.3 MB / 0.5028 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.1433, allocations: 167.7 kB / 0.503 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1434, allocations: 89.41 kB / 0.503 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002524/0.146, allocations: 2.81 MB / 0.5058 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.146, allocations: 38.56 kB / 0.5058 GB, free: 9.266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.146, allocations: 0 / 0.5058 GB, free: 9.266 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003025/0.1463, allocations: 121.3 kB / 0.5059 GB, free: 9.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1464, allocations: 55.41 kB / 0.506 GB, free: 9.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1466, allocations: 223.8 kB / 0.5062 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1466, allocations: 29.7 kB / 0.5062 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1467, allocations: 218.6 kB / 0.5064 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1468, allocations: 39.45 kB / 0.5065 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1469, allocations: 86.03 kB / 0.5066 GB, free: 8.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.147, allocations: 330.8 kB / 0.5069 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.1471, allocations: 44.84 kB / 0.5069 GB, free: 8.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.1473, allocations: 347.2 kB / 0.5073 GB, free: 7.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.1478, allocations: 440.6 kB / 0.5077 GB, free: 7.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.1478, allocations: 4 kB / 0.5077 GB, free: 7.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005658/0.1484, allocations: 388.8 kB / 0.508 GB, free: 6.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1484, allocations: 12.91 kB / 0.5081 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.1484, allocations: 15.98 kB / 0.5081 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1485, allocations: 16 kB / 0.5081 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.1487, allocations: 99.78 kB / 0.5082 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.1487, allocations: 23.91 kB / 0.5082 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.149, allocations: 47.53 kB / 0.5083 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.149, allocations: 28 kB / 0.5083 GB, free: 6.395 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.0001227/0.1492, allocations: 153.5 kB / 0.5084 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.1492, allocations: 23.81 kB / 0.5084 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.1495, allocations: 136.5 kB / 0.5086 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1495, allocations: 7.938 kB / 0.5086 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1495, allocations: 0 / 0.5086 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.154e-05/0.1496, allocations: 108.7 kB / 0.5087 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.1497, allocations: 0 / 0.5087 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.1498, allocations: 15.98 kB / 0.5087 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1498, allocations: 3.984 kB / 0.5087 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001554/0.15, allocations: 148.9 kB / 0.5088 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002074/0.1502, allocations: 262.5 kB / 0.5091 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.94e-05/0.1503, allocations: 20.2 kB / 0.5091 GB, free: 5.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1504, allocations: 156.5 kB / 0.5093 GB, free: 5.309 MB / 398.1 MB Notification: Performance of Backend: time 6.21e-07/0.1504, allocations: 0 / 0.5093 GB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1515, allocations: 443.4 kB / 0.5097 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008891/0.1524, allocations: 0.8467 MB / 0.5105 GB, free: 3.977 MB / 398.1 MB Notification: Performance of Templates: time 0.009633/0.162, allocations: 5.244 MB / 0.5156 GB, free: 14.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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