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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000984/0.0009841, allocations: 97.53 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3518/0.3518, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009981/0.0009981, allocations: 52.11 kB / 429.2 MB, free: 6.406 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1168, allocations: 57.77 MB / 487 MB, free: 12.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005851/0.1227, allocations: 4.601 MB / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.1268, allocations: 4.076 MB / 495.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.127, allocations: 0 / 495.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1273, allocations: 43.73 kB / 495.7 MB, free: 3.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.1288, allocations: 0.6609 MB / 496.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.1292, allocations: 135.7 kB / 496.5 MB, free: 3.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.1297, allocations: 446 kB / 497 MB, free: 2.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1297, allocations: 17.67 kB / 497 MB, free: 2.547 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.1299, allocations: 139.4 kB / 497.1 MB, free: 2.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.1301, allocations: 151.5 kB / 497.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.1301, allocations: 8 kB / 497.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009026/0.131, allocations: 443.3 kB / 497.7 MB, free: 1.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.1311, allocations: 39.77 kB / 497.7 MB, free: 1.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1312, allocations: 103.6 kB / 497.8 MB, free: 1.68 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.1319, allocations: 479 kB / 498.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1319, allocations: 4 kB / 498.3 MB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.083e-06/0.1319, allocations: 3.938 kB / 498.3 MB, free: 1.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1319, allocations: 0 / 498.3 MB, free: 1.203 MB / 378.7 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.0009924/0.1329, allocations: 0.5853 MB / 498.9 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.133, allocations: 12.03 kB / 498.9 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.1331, allocations: 36.66 kB / 498.9 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1334, allocations: 228 kB / 499.2 MB, free: 268 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.1335, allocations: 123.9 kB / 499.3 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.1335, allocations: 20.38 kB / 499.3 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.134, allocations: 331.6 kB / 499.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.134, allocations: 0 / 499.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.1341, allocations: 19.97 kB / 499.6 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1341, allocations: 8 kB / 499.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.1349, allocations: 0.7312 MB / 0.4887 GB, free: 14.99 MB / 394.7 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.001279/0.1362, allocations: 1.308 MB / 0.4899 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1365, allocations: 155.8 kB / 0.4901 GB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1366, allocations: 93.3 kB / 0.4902 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/0.1389, allocations: 2.813 MB / 0.4929 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1389, allocations: 34.56 kB / 0.493 GB, free: 9.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.1389, allocations: 4 kB / 0.493 GB, free: 9.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002588/0.1392, allocations: 117.3 kB / 0.4931 GB, free: 9.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1392, allocations: 55.41 kB / 0.4931 GB, free: 9.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1394, allocations: 223.8 kB / 0.4933 GB, free: 9.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1395, allocations: 33.7 kB / 0.4934 GB, free: 9.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1396, allocations: 214.6 kB / 0.4936 GB, free: 9.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1396, allocations: 47.39 kB / 0.4936 GB, free: 9.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.188e-05/0.1397, allocations: 82.03 kB / 0.4937 GB, free: 9.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1398, allocations: 330.8 kB / 0.494 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.1399, allocations: 48.83 kB / 0.4941 GB, free: 8.738 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1402, allocations: 343.2 kB / 0.4944 GB, free: 8.254 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.1405, allocations: 440.6 kB / 0.4948 GB, free: 7.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1406, allocations: 4 kB / 0.4948 GB, free: 7.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000492/0.1411, allocations: 381 kB / 0.4952 GB, free: 7.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1411, allocations: 12 kB / 0.4952 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1411, allocations: 12 kB / 0.4952 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.1411, allocations: 16.72 kB / 0.4952 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1414, allocations: 99.77 kB / 0.4953 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.1414, allocations: 27.92 kB / 0.4953 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1416, allocations: 51.53 kB / 0.4954 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.1417, allocations: 28 kB / 0.4954 GB, free: 7.051 MB / 394.7 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.0001094/0.1418, allocations: 145.6 kB / 0.4956 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.1418, allocations: 23.8 kB / 0.4956 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1421, allocations: 140.5 kB / 0.4957 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.1421, allocations: 3.938 kB / 0.4957 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1421, allocations: 0 / 0.4957 GB, free: 6.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1421, allocations: 4 kB / 0.4957 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.1425, allocations: 420.8 kB / 0.4961 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1425, allocations: 4 kB / 0.4961 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.1426, allocations: 8 kB / 0.4961 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1426, allocations: 4.094 kB / 0.4961 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1426, allocations: 7.938 kB / 0.4961 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.1426, allocations: 4 kB / 0.4961 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1426, allocations: 3.938 kB / 0.4961 GB, free: 6.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.1431, allocations: 0.7886 MB / 0.4969 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.1432, allocations: 96.91 kB / 0.497 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1432, allocations: 3.906 kB / 0.497 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1434, allocations: 8 kB / 0.497 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.1434, allocations: 19.95 kB / 0.497 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1434, allocations: 4 kB / 0.497 GB, free: 5.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1435, allocations: 152.5 kB / 0.4972 GB, free: 5.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1435, allocations: 3.938 kB / 0.4972 GB, free: 5.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005287/0.1441, allocations: 95.92 kB / 0.4973 GB, free: 4.953 MB / 394.7 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.0003184/0.1444, allocations: 159.2 kB / 0.4974 GB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1446, allocations: 170.4 kB / 0.4976 GB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.1447, allocations: 4.062 kB / 0.4976 GB, free: 4.621 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.1447, allocations: 19.94 kB / 0.4976 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.1451, allocations: 48.83 kB / 0.4977 GB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.1461, allocations: 0.7229 MB / 0.4984 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1464, allocations: 0.7287 MB / 0.4991 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002525/0.1467, allocations: 50.92 kB / 0.4991 GB, free: 2.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.1467, allocations: 27.42 kB / 0.4992 GB, free: 2.953 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1467, allocations: 4 kB / 0.4992 GB, free: 2.949 MB / 394.7 MB Notification: Performance of Templates: time 0.1819/0.3287, allocations: 3.055 MB / 0.5021 GB, free: 60.23 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches