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.001566/0.001566, allocations: 105.3 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.001744/0.001744, allocations: 191.8 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.518/1.518, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2031/0.2031, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001404/0.001404, allocations: 70.73 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09427, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01808/0.1124, allocations: 20.26 MB / 460.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.1184, allocations: 4.294 MB / 465.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.119, allocations: 19.88 kB / 465.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007783/0.1198, allocations: 314 kB / 465.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.1216, allocations: 0.8511 MB / 466.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.1238, allocations: 0.8915 MB / 467.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.1256, allocations: 1.79 MB / 469 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005405/0.1261, allocations: 469.4 kB / 469.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.1277, allocations: 0.9145 MB / 470.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008233/0.1285, allocations: 0.6345 MB / 471 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.1287, allocations: 60 kB / 471.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006978/0.1294, allocations: 303.6 kB / 471.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.1296, allocations: 263.3 kB / 471.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.13, allocations: 390.2 kB / 472 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1311, allocations: 1.079 MB / 473.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1311, allocations: 4 kB / 473.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1311, allocations: 0 / 473.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1311, allocations: 0 / 473.1 MB, free: 6.191 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.001958/0.1331, allocations: 1.052 MB / 474.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1332, allocations: 15.89 kB / 474.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.1333, allocations: 94.7 kB / 474.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.1336, allocations: 88.08 kB / 474.4 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.1343, allocations: 0.5093 MB / 474.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1344, allocations: 104.9 kB / 475 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.1345, allocations: 52.11 kB / 475 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1357, allocations: 0.8136 MB / 475.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1357, allocations: 4 kB / 475.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.1358, allocations: 24 kB / 475.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.1359, allocations: 40.92 kB / 475.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.1369, allocations: 0.6439 MB / 476.6 MB, free: 2.578 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.004649/0.1416, allocations: 4.225 MB / 480.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.1425, allocations: 429.8 kB / 481.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.1428, allocations: 205.4 kB / 481.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.1433, allocations: 0.4989 MB / 481.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1433, allocations: 43.22 kB / 481.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.1433, allocations: 3.938 kB / 481.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003107/0.1464, allocations: 1.524 MB / 483.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.1465, allocations: 136.5 kB / 483.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.1472, allocations: 0.5654 MB / 484.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.494e-05/0.1472, allocations: 37.7 kB / 484.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.1475, allocations: 362.9 kB / 484.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.1476, allocations: 157.7 kB / 484.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.1478, allocations: 134.6 kB / 484.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.148, allocations: 378.7 kB / 485.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.1484, allocations: 225.9 kB / 485.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.1489, allocations: 0.5201 MB / 486 MB, free: 8.496 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.15, allocations: 0.7835 MB / 486.7 MB, free: 7.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.15, allocations: 4 kB / 486.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001892/0.1519, allocations: 0.9411 MB / 487.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.1519, allocations: 8 kB / 487.7 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1519, allocations: 8 kB / 487.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.153, allocations: 276.2 kB / 488 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.1534, allocations: 127.8 kB / 488.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008795/0.1543, allocations: 0.8606 MB / 489 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.1548, allocations: 23.98 kB / 489 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.1549, allocations: 36 kB / 489 MB, free: 5.273 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.0003348/0.1552, allocations: 249.6 kB / 489.3 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1553, allocations: 67.16 kB / 489.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1567, allocations: 0.7108 MB / 490 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.1567, allocations: 8 kB / 490 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1567, allocations: 0 / 490 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1567, allocations: 3.984 kB / 490 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1588, allocations: 1.406 MB / 491.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1589, allocations: 0 / 491.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009744/0.1598, allocations: 195.9 kB / 491.6 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/0.1601, allocations: 56.78 kB / 491.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.1602, allocations: 16 kB / 491.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.1628, allocations: 2.986 MB / 494.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1628, allocations: 4.031 kB / 494.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.1643, allocations: 0.9918 MB / 495.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.1646, allocations: 200.2 kB / 495.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.1647, allocations: 12 kB / 495.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.1651, allocations: 15.98 kB / 495.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.098e-05/0.1652, allocations: 43.95 kB / 496 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.1653, allocations: 23.92 kB / 496 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005268/0.1658, allocations: 427 kB / 496.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 0 / 496.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008286/0.1667, allocations: 203.9 kB / 496.6 MB, free: 13.25 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.002266/0.1689, allocations: 1.681 MB / 498.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.1705, allocations: 0.6622 MB / 498.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1705, allocations: 0 / 498.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.1717, allocations: 495.8 kB / 499.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.1735, allocations: 364.4 kB / 499.8 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009535/0.1831, allocations: 6.767 MB / 0.4947 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.1836, allocations: 0.9384 MB / 0.4956 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007542/0.1844, allocations: 208.8 kB / 0.4958 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.1847, allocations: 231.4 kB / 0.496 GB, free: 1.473 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1847, allocations: 4 kB / 0.496 GB, free: 1.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05097/0.2357, allocations: 21.86 MB / 0.5174 GB, free: 11.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.14, allocations: 8.047 kB / 0.5174 GB, free: 11.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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