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.001336/0.001336, allocations: 116.9 kB / 17.08 MB, free: 6.012 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: 193.3 kB / 18.01 MB, free: 5.094 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.508/1.508, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2053/0.2053, allocations: 43.53 MB / 314.8 MB, free: 468 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.001495/0.001495, allocations: 76.45 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.1001, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02137/0.1215, allocations: 20.26 MB / 0.5083 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005962/0.1275, allocations: 4.282 MB / 0.5125 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006959/0.1283, allocations: 19.88 kB / 0.5125 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.1293, allocations: 322 kB / 0.5129 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.1314, allocations: 0.8472 MB / 0.5137 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.1338, allocations: 0.8922 MB / 0.5146 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.1361, allocations: 1.794 MB / 0.5163 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.1369, allocations: 469.3 kB / 0.5168 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.1389, allocations: 0.9301 MB / 0.5177 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.1401, allocations: 0.6266 MB / 0.5183 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.1403, allocations: 60 kB / 0.5183 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.1412, allocations: 307.6 kB / 0.5186 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.1415, allocations: 271.2 kB / 0.5189 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.1421, allocations: 394.2 kB / 0.5193 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.1437, allocations: 1.079 MB / 0.5203 GB, free: 11.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1437, allocations: 0 / 0.5203 GB, free: 11.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1437, allocations: 0 / 0.5203 GB, free: 11.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.671e-05/0.1437, allocations: 0 / 0.5203 GB, free: 11.17 MB / 414.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.002429/0.1462, allocations: 1.044 MB / 0.5213 GB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1462, allocations: 11.89 kB / 0.5213 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.1466, allocations: 95.98 kB / 0.5214 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008996/0.1475, allocations: 0.5288 MB / 0.5219 GB, free: 9.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.1476, allocations: 101 kB / 0.522 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.1477, allocations: 48.38 kB / 0.5221 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1491, allocations: 0.8291 MB / 0.5229 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.1491, allocations: 0 / 0.5229 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.157e-05/0.1492, allocations: 23.94 kB / 0.5229 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.1493, allocations: 40.97 kB / 0.523 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1503, allocations: 0.6478 MB / 0.5236 GB, free: 7.629 MB / 414.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.004794/0.1551, allocations: 4.217 MB / 0.5277 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.156, allocations: 411.8 kB / 0.5281 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1564, allocations: 213.4 kB / 0.5283 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004819/0.1569, allocations: 0.4989 MB / 0.5288 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1569, allocations: 42.83 kB / 0.5288 GB, free: 1.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.1569, allocations: 0 / 0.5288 GB, free: 1.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003209/0.1602, allocations: 1.522 MB / 0.5303 GB, free: 272 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1602, allocations: 136.5 kB / 0.5305 GB, free: 104 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1953/0.3556, allocations: 0.5709 MB / 0.531 GB, free: 42.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.3558, allocations: 34.39 kB / 0.531 GB, free: 42.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.356, allocations: 353.7 kB / 0.5314 GB, free: 42.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3561, allocations: 168.7 kB / 0.5315 GB, free: 42.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.3563, allocations: 137.8 kB / 0.5317 GB, free: 42.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.3564, allocations: 380.1 kB / 0.532 GB, free: 42.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.3567, allocations: 224.8 kB / 0.5322 GB, free: 42.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/0.3572, allocations: 0.523 MB / 0.5328 GB, free: 41.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008095/0.358, allocations: 0.7742 MB / 0.5335 GB, free: 41.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.358, allocations: 2.562 kB / 0.5335 GB, free: 41.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001668/0.3597, allocations: 0.9362 MB / 0.5344 GB, free: 41.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3597, allocations: 8.938 kB / 0.5344 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3598, allocations: 10.22 kB / 0.5345 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.3608, allocations: 268 kB / 0.5347 GB, free: 41.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.3612, allocations: 129.1 kB / 0.5348 GB, free: 41.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007898/0.362, allocations: 0.8618 MB / 0.5357 GB, free: 40.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.3625, allocations: 28.28 kB / 0.5357 GB, free: 40.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3626, allocations: 33.28 kB / 0.5357 GB, free: 40.85 MB / 414.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.0003065/0.3629, allocations: 256.6 kB / 0.536 GB, free: 40.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.363, allocations: 68.55 kB / 0.536 GB, free: 40.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3643, allocations: 0.7141 MB / 0.5367 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.3643, allocations: 4.562 kB / 0.5367 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.3643, allocations: 5.984 kB / 0.5367 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3643, allocations: 9.609 kB / 0.5368 GB, free: 40.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3663, allocations: 1.397 MB / 0.5381 GB, free: 39.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3663, allocations: 2.906 kB / 0.5381 GB, free: 39.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009125/0.3672, allocations: 197.1 kB / 0.5383 GB, free: 39.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.3674, allocations: 58.27 kB / 0.5384 GB, free: 39.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3675, allocations: 20.16 kB / 0.5384 GB, free: 39.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.3691, allocations: 2.971 MB / 0.5413 GB, free: 36.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3691, allocations: 7.5 kB / 0.5413 GB, free: 36.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.3704, allocations: 1.005 MB / 0.5423 GB, free: 36.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.3707, allocations: 200.7 kB / 0.5425 GB, free: 36.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.235e-05/0.3708, allocations: 13.41 kB / 0.5425 GB, free: 36.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.3712, allocations: 17.61 kB / 0.5425 GB, free: 36.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.3713, allocations: 35.31 kB / 0.5425 GB, free: 36.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.3713, allocations: 27.34 kB / 0.5426 GB, free: 36.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004662/0.3718, allocations: 421.3 kB / 0.543 GB, free: 35.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3718, allocations: 0 / 0.543 GB, free: 35.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007816/0.3726, allocations: 203.5 kB / 0.5432 GB, free: 35.86 MB / 414.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.0004781/0.3731, allocations: 231.2 kB / 0.5434 GB, free: 35.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.3742, allocations: 0.6067 MB / 0.544 GB, free: 35.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3742, allocations: 2.156 kB / 0.544 GB, free: 35.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3753, allocations: 476.7 kB / 0.5444 GB, free: 35.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.377, allocations: 368.4 kB / 0.5448 GB, free: 35.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.3796, allocations: 1.443 MB / 0.5462 GB, free: 34.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.3801, allocations: 0.9359 MB / 0.5471 GB, free: 33.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.3803, allocations: 66.97 kB / 0.5472 GB, free: 33.73 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3803, allocations: 7.938 kB / 0.5472 GB, free: 33.73 MB / 414.1 MB Notification: Performance of Templates: time 0.02261/0.4029, allocations: 15.61 MB / 0.5624 GB, free: 27.38 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/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