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.001374/0.001375, allocations: 119.6 kB / 17.09 MB, free: 6 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.001516/0.001516, allocations: 194.4 kB / 18.01 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.45/1.45, allocations: 205.1 MB / 223.9 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.2208/0.2208, allocations: 43.52 MB / 314.8 MB, free: 456 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.001664/0.001664, allocations: 67.84 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1128, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006838/0.1197, allocations: 4.542 MB / 0.493 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.1244, allocations: 4.014 MB / 0.4969 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.1247, allocations: 0 / 0.4969 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1251, allocations: 51.66 kB / 0.497 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.1274, allocations: 0.7227 MB / 0.4977 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.1278, allocations: 135.8 kB / 0.4978 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.1284, allocations: 374.1 kB / 0.4982 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.1285, allocations: 17.69 kB / 0.4982 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.1288, allocations: 139.5 kB / 0.4983 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1291, allocations: 147.5 kB / 0.4985 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.1292, allocations: 8 kB / 0.4985 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1304, allocations: 419.5 kB / 0.4989 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-05/0.1305, allocations: 47.75 kB / 0.4989 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.1306, allocations: 111.5 kB / 0.499 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1318, allocations: 474.8 kB / 0.4995 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1318, allocations: 3.938 kB / 0.4995 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1318, allocations: 0 / 0.4995 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1318, allocations: 0 / 0.4995 GB, free: 0.5352 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.001436/0.1333, allocations: 0.5931 MB / 0.5001 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.1333, allocations: 15.89 kB / 0.5001 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1335, allocations: 28.64 kB / 0.5001 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.1339, allocations: 224.1 kB / 0.5003 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.134, allocations: 127.9 kB / 0.5004 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.1341, allocations: 16.38 kB / 0.5005 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.1346, allocations: 335.6 kB / 0.5008 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1346, allocations: 0 / 0.5008 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1347, allocations: 12 kB / 0.5008 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.1347, allocations: 8 kB / 0.5008 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.1356, allocations: 0.739 MB / 0.5015 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.001586/0.1372, allocations: 1.296 MB / 0.5028 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.1376, allocations: 167.7 kB / 0.5029 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1377, allocations: 89.41 kB / 0.503 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00287/0.1406, allocations: 2.81 MB / 0.5058 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1406, allocations: 42.56 kB / 0.5058 GB, free: 9.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.1407, allocations: 0 / 0.5058 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003335/0.141, allocations: 125.2 kB / 0.5059 GB, free: 9.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1411, allocations: 55.41 kB / 0.506 GB, free: 9.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1414, allocations: 219.8 kB / 0.5062 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1414, allocations: 29.7 kB / 0.5062 GB, free: 8.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1416, allocations: 218.6 kB / 0.5064 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1416, allocations: 39.45 kB / 0.5065 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.1417, allocations: 86.03 kB / 0.5066 GB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1419, allocations: 330.8 kB / 0.5069 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.142, allocations: 44.84 kB / 0.5069 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.1423, allocations: 347.2 kB / 0.5072 GB, free: 7.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/0.1427, allocations: 440.5 kB / 0.5077 GB, free: 7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.1427, allocations: 4 kB / 0.5077 GB, free: 6.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005904/0.1433, allocations: 388.7 kB / 0.508 GB, free: 6.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1434, allocations: 9 kB / 0.508 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.1434, allocations: 12 kB / 0.5081 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.1434, allocations: 19.94 kB / 0.5081 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.1437, allocations: 103.8 kB / 0.5082 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.1437, allocations: 15.94 kB / 0.5082 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.144, allocations: 47.53 kB / 0.5082 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.144, allocations: 28 kB / 0.5083 GB, free: 6.379 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.0001487/0.1442, allocations: 153.5 kB / 0.5084 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.1442, allocations: 23.81 kB / 0.5084 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.1445, allocations: 148.9 kB / 0.5086 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1445, allocations: 3.938 kB / 0.5086 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1445, allocations: 0 / 0.5086 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1445, allocations: 3.984 kB / 0.5086 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.145, allocations: 412.8 kB / 0.509 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1451, allocations: 0 / 0.509 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.1451, allocations: 15.94 kB / 0.509 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1451, allocations: 7.938 kB / 0.509 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.1451, allocations: 0 / 0.509 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1452, allocations: 3.984 kB / 0.509 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1452, allocations: 7.984 kB / 0.509 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1454, allocations: 205.8 kB / 0.5092 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.1455, allocations: 100.9 kB / 0.5093 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.1455, allocations: 0 / 0.5093 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1457, allocations: 4 kB / 0.5093 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.1457, allocations: 7.984 kB / 0.5093 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1457, allocations: 12 kB / 0.5093 GB, free: 5.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1459, allocations: 152.5 kB / 0.5095 GB, free: 5.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1459, allocations: 0 / 0.5095 GB, free: 5.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.1464, allocations: 95.84 kB / 0.5096 GB, free: 4.91 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.000293/0.1467, allocations: 171.3 kB / 0.5097 GB, free: 4.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.147, allocations: 165.8 kB / 0.5099 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.147, allocations: 0 / 0.5099 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1471, allocations: 24.56 kB / 0.5099 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.1476, allocations: 48.7 kB / 0.51 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1486, allocations: 0.5521 MB / 0.5105 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1489, allocations: 0.7245 MB / 0.5112 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.149, allocations: 31.44 kB / 0.5112 GB, free: 3.129 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.149, allocations: 4 kB / 0.5112 GB, free: 3.125 MB / 398.1 MB Notification: Performance of Templates: time 0.006568/0.1556, allocations: 3.327 MB / 0.5145 GB, free: 15.8 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