Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 103.4 kB / 16.27 MB, free: 6.41 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.00146/0.00146, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.419/1.419, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2041/0.2041, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001496/0.001496, allocations: 70.47 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09267/0.09418, allocations: 57.79 MB / 440.5 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01749/0.1117, allocations: 20.25 MB / 460.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005612/0.1174, allocations: 4.301 MB / 465.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.1179, allocations: 19.88 kB / 465.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.1187, allocations: 314 kB / 465.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.1204, allocations: 0.8472 MB / 466.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.1223, allocations: 0.8947 MB / 467.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.1241, allocations: 1.794 MB / 468.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.1247, allocations: 449.4 kB / 469.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.1262, allocations: 0.9262 MB / 470.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.127, allocations: 0.6345 MB / 470.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1271, allocations: 60 kB / 471 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.1279, allocations: 303.6 kB / 471.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.1282, allocations: 259.3 kB / 471.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.1286, allocations: 390.2 kB / 471.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1298, allocations: 1.079 MB / 473 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1298, allocations: 0 / 473 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1298, allocations: 4 kB / 473 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1298, allocations: 0 / 473 MB, free: 6.285 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002067/0.1319, allocations: 1.048 MB / 474.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.132, allocations: 15.89 kB / 474.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.1323, allocations: 88.08 kB / 474.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.133, allocations: 0.5015 MB / 474.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1331, allocations: 108.9 kB / 474.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.7e-05/0.1332, allocations: 56.36 kB / 474.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1344, allocations: 0.8174 MB / 475.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.1344, allocations: 0 / 475.6 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.1345, allocations: 27.98 kB / 475.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.1346, allocations: 48.86 kB / 475.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1356, allocations: 0.64 MB / 476.4 MB, free: 2.77 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.00479/0.1404, allocations: 4.221 MB / 480.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/0.1413, allocations: 421.9 kB / 481 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.1417, allocations: 209.4 kB / 481.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/0.1422, allocations: 0.499 MB / 481.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1422, allocations: 39.22 kB / 481.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/0.1422, allocations: 0 / 481.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003076/0.1453, allocations: 1.529 MB / 483.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.1454, allocations: 136.5 kB / 483.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006238/0.146, allocations: 0.5693 MB / 484 MB, free: 10.65 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.1461, allocations: 33.7 kB / 484 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.1464, allocations: 354.9 kB / 484.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.1465, allocations: 165.7 kB / 484.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1467, allocations: 134.6 kB / 484.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1469, allocations: 378.7 kB / 485 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.1472, allocations: 225.9 kB / 485.2 MB, free: 9.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.1478, allocations: 0.5201 MB / 485.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000949/0.1488, allocations: 0.7796 MB / 486.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1488, allocations: 4 kB / 486.5 MB, free: 7.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001674/0.1505, allocations: 0.9452 MB / 487.5 MB, free: 6.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1505, allocations: 11.94 kB / 487.5 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1505, allocations: 8 kB / 487.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.1516, allocations: 272.8 kB / 487.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.152, allocations: 127.8 kB / 487.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009131/0.1529, allocations: 0.8567 MB / 488.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.1534, allocations: 27.98 kB / 488.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.1535, allocations: 36 kB / 488.8 MB, free: 5.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002978/0.1538, allocations: 246.3 kB / 489 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1539, allocations: 67.23 kB / 489.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.1552, allocations: 0.7101 MB / 489.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.1552, allocations: 12.03 kB / 489.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1552, allocations: 0 / 489.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.1552, allocations: 3.984 kB / 489.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.1573, allocations: 1.406 MB / 491.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.1573, allocations: 7.938 kB / 491.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009725/0.1583, allocations: 191.9 kB / 491.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.1586, allocations: 60.78 kB / 491.5 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.1586, allocations: 12 kB / 491.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/0.1611, allocations: 2.99 MB / 494.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1611, allocations: 7.969 kB / 494.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.1626, allocations: 0.9918 MB / 495.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.1629, allocations: 196.2 kB / 495.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.1629, allocations: 12 kB / 495.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.1633, allocations: 19.98 kB / 495.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1634, allocations: 43.89 kB / 495.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/0.1635, allocations: 19.98 kB / 495.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.164, allocations: 419.1 kB / 496.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.164, allocations: 0 / 496.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007736/0.1648, allocations: 211.9 kB / 496.4 MB, free: 13.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005689/0.1654, allocations: 226.5 kB / 496.6 MB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1667, allocations: 0.6711 MB / 497.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1667, allocations: 0 / 497.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.1678, allocations: 490.1 kB / 497.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.1695, allocations: 384.8 kB / 498.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1717, allocations: 1.412 MB / 499.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.1723, allocations: 0.9346 MB / 0.4888 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007353/0.173, allocations: 215.8 kB / 0.489 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.1732, allocations: 63.42 kB / 0.489 GB, free: 9 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1732, allocations: 0 / 0.489 GB, free: 9 MB / 382.1 MB Notification: Performance of Templates: time 0.02411/0.1973, allocations: 15.12 MB / 0.5038 GB, free: 9.922 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches