Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001408/0.001407, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001501/0.001501, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 242.5 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.18 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.11 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1247, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006482/0.1312, allocations: 4.586 MB / 473.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004513/0.1358, allocations: 4.073 MB / 477.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.1359, allocations: 4 kB / 477.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.1362, allocations: 39.73 kB / 477.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.1382, allocations: 0.6609 MB / 478.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1385, allocations: 130.9 kB / 478.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.1392, allocations: 442.1 kB / 479.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.1393, allocations: 13.69 kB / 479.1 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1395, allocations: 143.4 kB / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002234/0.1397, allocations: 151.4 kB / 479.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1398, allocations: 8 kB / 479.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009818/0.1407, allocations: 439.3 kB / 479.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.1408, allocations: 47.75 kB / 479.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.1411, allocations: 103.5 kB / 480 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005005/0.1416, allocations: 327.6 kB / 480.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1416, allocations: 0 / 480.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1416, allocations: 0 / 480.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1416, allocations: 0 / 480.3 MB, free: 3.66 MB / 350.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.001314/0.1429, allocations: 0.6008 MB / 480.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.143, allocations: 8.031 kB / 480.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1431, allocations: 24.75 kB / 480.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1434, allocations: 224 kB / 481.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1436, allocations: 127.9 kB / 481.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.1436, allocations: 16.38 kB / 481.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.1441, allocations: 331.6 kB / 481.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1441, allocations: 3.938 kB / 481.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.1442, allocations: 12 kB / 481.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.1442, allocations: 8 kB / 481.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.145, allocations: 0.7391 MB / 482.4 MB, free: 1.441 MB / 350.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.1464, allocations: 1.296 MB / 483.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.1467, allocations: 167.7 kB / 483.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.1469, allocations: 89.42 kB / 483.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002507/0.1494, allocations: 2.806 MB / 486.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1494, allocations: 34.56 kB / 486.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1494, allocations: 0 / 486.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002957/0.1498, allocations: 129.2 kB / 486.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1498, allocations: 51.41 kB / 486.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.15, allocations: 223.9 kB / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.15, allocations: 29.64 kB / 487.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1502, allocations: 222.6 kB / 487.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1502, allocations: 43.38 kB / 487.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.1503, allocations: 81.95 kB / 487.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1504, allocations: 330.8 kB / 487.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.1505, allocations: 44.84 kB / 487.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.1508, allocations: 343.2 kB / 488.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.1512, allocations: 448.5 kB / 488.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1513, allocations: 8 kB / 488.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000592/0.1519, allocations: 385.8 kB / 489.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1519, allocations: 8 kB / 489.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1519, allocations: 12 kB / 489.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.1519, allocations: 15.94 kB / 489.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.1522, allocations: 103.8 kB / 489.2 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.1522, allocations: 15.94 kB / 489.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1524, allocations: 51.44 kB / 489.3 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.1525, allocations: 31.98 kB / 489.3 MB, free: 9.508 MB / 366.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.0001226/0.1526, allocations: 157.6 kB / 489.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1527, allocations: 15.81 kB / 489.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.1529, allocations: 148.5 kB / 489.6 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.153, allocations: 7.938 kB / 489.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.153, allocations: 0 / 489.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.153, allocations: 0 / 489.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1534, allocations: 408.8 kB / 490 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1534, allocations: 0 / 490 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.1535, allocations: 19.92 kB / 490 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1535, allocations: 4.094 kB / 490 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1535, allocations: 0 / 490 MB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1535, allocations: 4 kB / 490 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1535, allocations: 0 / 490 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.1537, allocations: 197.8 kB / 490.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.1538, allocations: 108.8 kB / 490.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1539, allocations: 8 kB / 490.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.154, allocations: 3.984 kB / 490.4 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.154, allocations: 4 kB / 490.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1541, allocations: 8 kB / 490.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001195/0.1542, allocations: 152.5 kB / 490.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1542, allocations: 0 / 490.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.1547, allocations: 99.92 kB / 490.6 MB, free: 8.055 MB / 366.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.0003391/0.155, allocations: 167.8 kB / 490.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1553, allocations: 165.8 kB / 490.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1553, allocations: 4 kB / 490.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.1554, allocations: 23.92 kB / 491 MB, free: 7.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.1558, allocations: 47.16 kB / 491 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1568, allocations: 0.6279 MB / 491.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1571, allocations: 0.7326 MB / 492.4 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.1572, allocations: 27.44 kB / 492.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1572, allocations: 0 / 492.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of Templates: time 0.005606/0.1628, allocations: 3.305 MB / 495.7 MB, free: 2.895 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches