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.001668/0.001668, allocations: 117.9 kB / 17.08 MB, free: 5.965 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.001968/0.001969, allocations: 194.4 kB / 18.01 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.428/2.428, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2168/0.2168, allocations: 43.52 MB / 314.8 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.001415/0.001415, allocations: 69.45 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1247, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006748/0.1314, allocations: 4.542 MB / 0.493 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004915/0.1364, allocations: 4.022 MB / 0.4969 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.1367, allocations: 0 / 0.4969 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.1372, allocations: 47.61 kB / 0.497 GB, free: 3.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.1395, allocations: 0.7266 MB / 0.4977 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1399, allocations: 143.7 kB / 0.4978 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007067/0.1406, allocations: 370.2 kB / 0.4982 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.072e-05/0.1407, allocations: 13.69 kB / 0.4982 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.141, allocations: 143.4 kB / 0.4983 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.1413, allocations: 143.5 kB / 0.4985 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.1414, allocations: 8 kB / 0.4985 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1425, allocations: 427.5 kB / 0.4989 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1427, allocations: 43.77 kB / 0.4989 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1428, allocations: 111.5 kB / 0.499 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.144, allocations: 466.8 kB / 0.4995 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.144, allocations: 0 / 0.4995 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.144, allocations: 3.938 kB / 0.4995 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.144, 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.001287/0.1453, allocations: 0.6006 MB / 0.5001 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1453, allocations: 19.81 kB / 0.5001 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.1455, allocations: 28.66 kB / 0.5001 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1459, allocations: 228 kB / 0.5003 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.146, allocations: 119.9 kB / 0.5004 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.1461, allocations: 20.38 kB / 0.5005 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.1466, allocations: 331.6 kB / 0.5008 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1466, allocations: 0 / 0.5008 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.1466, allocations: 12 kB / 0.5008 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.1467, allocations: 8 kB / 0.5008 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.1475, allocations: 0.7429 MB / 0.5015 GB, free: 14.3 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.001431/0.1489, allocations: 1.296 MB / 0.5028 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1493, allocations: 167.5 kB / 0.5029 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.1494, allocations: 97.36 kB / 0.503 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002555/0.152, allocations: 2.806 MB / 0.5058 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.152, allocations: 46.55 kB / 0.5058 GB, free: 9.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.1521, allocations: 0 / 0.5058 GB, free: 9.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000291/0.1524, allocations: 113.4 kB / 0.5059 GB, free: 9.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1524, allocations: 51.41 kB / 0.506 GB, free: 9.051 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1526, allocations: 223.8 kB / 0.5062 GB, free: 8.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1527, allocations: 33.64 kB / 0.5062 GB, free: 8.785 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1528, allocations: 218.6 kB / 0.5064 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1528, allocations: 43.44 kB / 0.5065 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.1529, allocations: 89.98 kB / 0.5066 GB, free: 8.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1531, allocations: 330.8 kB / 0.5069 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/0.1532, allocations: 44.84 kB / 0.5069 GB, free: 8.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.1535, allocations: 339.2 kB / 0.5072 GB, free: 7.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.154, allocations: 448.6 kB / 0.5077 GB, free: 6.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.154, allocations: 4 kB / 0.5077 GB, free: 6.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005706/0.1545, allocations: 384.8 kB / 0.508 GB, free: 6.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1546, allocations: 9 kB / 0.5081 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.1546, allocations: 12 kB / 0.5081 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.1546, allocations: 19.94 kB / 0.5081 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1549, allocations: 103.8 kB / 0.5082 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.1549, allocations: 15.94 kB / 0.5082 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.1552, allocations: 51.53 kB / 0.5082 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.1552, allocations: 31.98 kB / 0.5083 GB, free: 6.363 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.0001388/0.1553, allocations: 149.6 kB / 0.5084 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.1554, allocations: 15.81 kB / 0.5084 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.1557, allocations: 148.5 kB / 0.5086 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1557, allocations: 3.938 kB / 0.5086 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1557, allocations: 4 kB / 0.5086 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1557, allocations: 0 / 0.5086 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.1562, allocations: 416.8 kB / 0.509 GB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1562, allocations: 4 kB / 0.509 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.1563, allocations: 11.98 kB / 0.509 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.1563, allocations: 4 kB / 0.509 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.1563, allocations: 3.938 kB / 0.509 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1563, allocations: 4 kB / 0.509 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1563, allocations: 3.984 kB / 0.509 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1565, allocations: 205.8 kB / 0.5092 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.1566, allocations: 100.8 kB / 0.5093 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.1567, allocations: 8 kB / 0.5093 GB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1568, allocations: 3.984 kB / 0.5093 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1569, allocations: 8 kB / 0.5093 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1569, allocations: 4 kB / 0.5093 GB, free: 5.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.157, allocations: 156.5 kB / 0.5095 GB, free: 4.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.157, allocations: 0 / 0.5095 GB, free: 4.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005277/0.1576, allocations: 103.8 kB / 0.5096 GB, free: 4.895 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.0002784/0.1578, allocations: 147.3 kB / 0.5097 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.1582, allocations: 173.6 kB / 0.5099 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1582, allocations: 4 kB / 0.5099 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.1582, allocations: 28.73 kB / 0.5099 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.1587, allocations: 48.52 kB / 0.51 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1597, allocations: 0.5447 MB / 0.5105 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.16, allocations: 0.7285 MB / 0.5112 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.496e-05/0.1601, allocations: 35.44 kB / 0.5112 GB, free: 3.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1601, allocations: 3.938 kB / 0.5112 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Templates: time 0.006237/0.1664, allocations: 3.355 MB / 0.5145 GB, free: 15.76 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