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.001067/0.001067, allocations: 100.3 kB / 17 MB, free: 6.418 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.001362/0.001362, allocations: 191.3 kB / 17.89 MB, free: 5.945 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.513/1.513, allocations: 223.3 MB / 241.9 MB, free: 14.57 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.3238/0.3238, allocations: 44.24 MB / 337.3 MB, free: 2.531 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003371/0.0003371, allocations: 11.98 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004525/0.1432, allocations: 4.034 MB / 475.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.1474, allocations: 3.706 MB / 479.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1476, allocations: 0 / 479.3 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1479, allocations: 43.73 kB / 479.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.1498, allocations: 0.575 MB / 479.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1502, allocations: 125.8 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.1508, allocations: 394 kB / 480.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.1508, allocations: 9.688 kB / 480.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.151, allocations: 139.5 kB / 480.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.1513, allocations: 151.5 kB / 480.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.1513, allocations: 8 kB / 480.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007887/0.1521, allocations: 315.6 kB / 481.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.1522, allocations: 43.81 kB / 481.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.1523, allocations: 65.58 kB / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.1527, allocations: 291.6 kB / 481.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1527, allocations: 4 kB / 481.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1527, allocations: 4 kB / 481.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.1527, allocations: 0 / 481.5 MB, free: 3.762 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.001157/0.1539, allocations: 0.546 MB / 482 MB, free: 3.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1539, allocations: 8.031 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1541, allocations: 31.8 kB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1544, allocations: 218.8 kB / 482.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.1546, allocations: 127.4 kB / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.1546, allocations: 24 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.1551, allocations: 323.6 kB / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1551, allocations: 0 / 482.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1552, allocations: 12 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.1552, allocations: 8 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.156, allocations: 0.739 MB / 483.5 MB, free: 1.598 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.001345/0.1574, allocations: 1.3 MB / 484.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1577, allocations: 170.6 kB / 485 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1578, allocations: 85.55 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002425/0.1603, allocations: 2.809 MB / 487.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1603, allocations: 34.56 kB / 487.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.1603, allocations: 4 kB / 487.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002611/0.1606, allocations: 117.7 kB / 488 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.1606, allocations: 51.41 kB / 488 MB, free: 12.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1608, allocations: 227.8 kB / 488.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1609, allocations: 25.7 kB / 488.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.161, allocations: 218.6 kB / 488.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.161, allocations: 43.39 kB / 488.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.114e-05/0.1611, allocations: 8 kB / 488.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1612, allocations: 330.8 kB / 488.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.1613, allocations: 52.78 kB / 488.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1616, allocations: 339.2 kB / 489.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1617, allocations: 103.8 kB / 489.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1617, allocations: 4 kB / 489.4 MB, free: 10.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005195/0.1623, allocations: 381.6 kB / 489.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1623, allocations: 12.22 kB / 489.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1623, allocations: 12 kB / 489.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.1623, allocations: 12 kB / 489.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1626, allocations: 99.83 kB / 489.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/0.1626, allocations: 23.88 kB / 489.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.1629, allocations: 55.44 kB / 490 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.1629, allocations: 28 kB / 490 MB, free: 10.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.163, allocations: 154.1 kB / 490.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1631, allocations: 23.81 kB / 490.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.1634, allocations: 144.5 kB / 490.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.1634, allocations: 8 kB / 490.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1634, allocations: 3.953 kB / 490.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1634, allocations: 0 / 490.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1639, allocations: 404.9 kB / 490.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1639, allocations: 0 / 490.7 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.164, allocations: 19.92 kB / 490.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.164, allocations: 3.953 kB / 490.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.164, allocations: 8.094 kB / 490.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.164, allocations: 0 / 490.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.164, allocations: 0 / 490.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.1642, allocations: 201.8 kB / 490.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1643, allocations: 100.9 kB / 491 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1644, allocations: 12.14 kB / 491 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1645, allocations: 11.98 kB / 491.1 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.1645, allocations: 7.938 kB / 491.1 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1645, allocations: 4 kB / 491.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1647, allocations: 152.5 kB / 491.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1647, allocations: 0 / 491.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.1652, allocations: 95.92 kB / 491.3 MB, free: 8.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002665/0.1655, allocations: 159.1 kB / 491.5 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.1658, allocations: 166.3 kB / 491.6 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1658, allocations: 4.125 kB / 491.6 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.1658, allocations: 23.94 kB / 491.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.1663, allocations: 36.41 kB / 491.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1673, allocations: 0.6263 MB / 492.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1677, allocations: 0.7287 MB / 493 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1679, allocations: 50.92 kB / 493.1 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.168, allocations: 31.42 kB / 493.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.168, allocations: 0 / 493.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of Templates: time 0.006457/0.1744, allocations: 2.827 MB / 496 MB, free: 4.082 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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