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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001004/0.001005, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.274/1.274, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1941/0.1941, allocations: 43.52 MB / 314.1 MB, free: 472 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.001479/0.001479, allocations: 60.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09353, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02004/0.1136, allocations: 20.27 MB / 0.5072 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.1195, allocations: 4.271 MB / 0.5114 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.12, allocations: 23.81 kB / 0.5114 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.1208, allocations: 310 kB / 0.5117 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.1228, allocations: 0.8706 MB / 0.5125 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.125, allocations: 0.8999 MB / 0.5134 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.1268, allocations: 1.801 MB / 0.5152 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.1275, allocations: 461.3 kB / 0.5156 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.1291, allocations: 0.938 MB / 0.5165 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.13, allocations: 0.6266 MB / 0.5172 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.1301, allocations: 60 kB / 0.5172 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007242/0.1309, allocations: 307.6 kB / 0.5175 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.1311, allocations: 267.2 kB / 0.5178 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.1315, allocations: 394.2 kB / 0.5181 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1328, allocations: 1.086 MB / 0.5192 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1328, allocations: 0 / 0.5192 GB, free: 11.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1328, allocations: 0 / 0.5192 GB, free: 11.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1328, allocations: 0 / 0.5192 GB, free: 11.62 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.00207/0.1349, allocations: 1.078 MB / 0.5202 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1349, allocations: 11.89 kB / 0.5203 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.1351, allocations: 94.7 kB / 0.5203 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003293/0.1354, allocations: 92.45 kB / 0.5204 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.1363, allocations: 0.5409 MB / 0.521 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/0.1364, allocations: 101 kB / 0.5211 GB, free: 9.598 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.1365, allocations: 56.11 kB / 0.5211 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.1377, allocations: 0.8174 MB / 0.5219 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1377, allocations: 4 kB / 0.5219 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1378, allocations: 20 kB / 0.5219 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-05/0.1378, allocations: 44.92 kB / 0.522 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1388, allocations: 0.6438 MB / 0.5226 GB, free: 7.938 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.004684/0.1435, allocations: 4.218 MB / 0.5267 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.1444, allocations: 415.8 kB / 0.5271 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1447, allocations: 209.4 kB / 0.5273 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/0.1451, allocations: 0.5028 MB / 0.5278 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1452, allocations: 46.83 kB / 0.5279 GB, free: 2.141 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.704e-06/0.1452, allocations: 0 / 0.5279 GB, free: 2.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003057/0.1483, allocations: 1.534 MB / 0.5294 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.1483, allocations: 132.5 kB / 0.5295 GB, free: 404 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1939/0.3423, allocations: 0.5728 MB / 0.53 GB, free: 42.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.3425, allocations: 35.39 kB / 0.5301 GB, free: 42.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.3427, allocations: 357 kB / 0.5304 GB, free: 42.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.3429, allocations: 172.8 kB / 0.5306 GB, free: 42.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.3431, allocations: 141.4 kB / 0.5307 GB, free: 42.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3432, allocations: 379.7 kB / 0.5311 GB, free: 41.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.3436, allocations: 223.3 kB / 0.5313 GB, free: 41.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/0.3441, allocations: 0.5192 MB / 0.5318 GB, free: 41.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.3449, allocations: 0.7796 MB / 0.5326 GB, free: 41.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3449, allocations: 3.344 kB / 0.5326 GB, free: 41.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001728/0.3467, allocations: 0.9428 MB / 0.5335 GB, free: 41.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3467, allocations: 8.656 kB / 0.5335 GB, free: 41.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.3467, allocations: 9.156 kB / 0.5335 GB, free: 41.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.3479, allocations: 267.2 kB / 0.5338 GB, free: 41.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.3483, allocations: 132.1 kB / 0.5339 GB, free: 41.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007869/0.3491, allocations: 0.862 MB / 0.5347 GB, free: 40.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.3496, allocations: 29.56 kB / 0.5348 GB, free: 40.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.3496, allocations: 36.17 kB / 0.5348 GB, free: 40.61 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.000284/0.3499, allocations: 252.1 kB / 0.535 GB, free: 40.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.35, allocations: 68.94 kB / 0.5351 GB, free: 40.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.3514, allocations: 0.7079 MB / 0.5358 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.3514, allocations: 6.109 kB / 0.5358 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.3514, allocations: 1.125 kB / 0.5358 GB, free: 40.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.3514, allocations: 6.562 kB / 0.5358 GB, free: 40.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.3534, allocations: 1.401 MB / 0.5372 GB, free: 39.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3534, allocations: 6.438 kB / 0.5372 GB, free: 39.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000941/0.3543, allocations: 191 kB / 0.5374 GB, free: 39.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.3546, allocations: 64.56 kB / 0.5374 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.3546, allocations: 15.33 kB / 0.5374 GB, free: 39.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.3562, allocations: 2.984 MB / 0.5403 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3563, allocations: 6.047 kB / 0.5403 GB, free: 36.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.3576, allocations: 0.9968 MB / 0.5413 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.3578, allocations: 205.4 kB / 0.5415 GB, free: 35.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.3579, allocations: 18.08 kB / 0.5415 GB, free: 35.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.3583, allocations: 17.41 kB / 0.5416 GB, free: 35.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.3584, allocations: 41.91 kB / 0.5416 GB, free: 35.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/0.3584, allocations: 19.7 kB / 0.5416 GB, free: 35.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005041/0.359, allocations: 419.7 kB / 0.542 GB, free: 35.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.359, allocations: 0 / 0.542 GB, free: 35.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007719/0.3597, allocations: 208.8 kB / 0.5422 GB, free: 35.71 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.001995/0.3617, allocations: 1.671 MB / 0.5438 GB, free: 34.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.3629, allocations: 0.6114 MB / 0.5444 GB, free: 34.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3629, allocations: 3.875 kB / 0.5444 GB, free: 34.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.364, allocations: 481 kB / 0.5449 GB, free: 34.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.3656, allocations: 382.3 kB / 0.5453 GB, free: 34.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00869/0.3743, allocations: 6.554 MB / 0.5517 GB, free: 30.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3747, allocations: 0.9367 MB / 0.5526 GB, free: 29.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007146/0.3754, allocations: 202.3 kB / 0.5528 GB, free: 29.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.3757, allocations: 235.1 kB / 0.553 GB, free: 29.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3758, allocations: 0 / 0.553 GB, free: 29.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.4171, allocations: 22.13 MB / 0.5746 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.64, allocations: 8.359 kB / 0.5746 GB, free: 13.76 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > 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.csv","/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