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.001316/0.001316, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001193/0.001193, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.32/1.32, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1945/0.1945, allocations: 43.52 MB / 314.1 MB, free: 456 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.001686/0.001686, allocations: 63.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09871, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02223/0.121, allocations: 20.26 MB / 0.5072 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.1278, allocations: 4.29 MB / 0.5114 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009487/0.1288, allocations: 19.88 kB / 0.5114 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.13, allocations: 310 kB / 0.5117 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.1325, allocations: 0.8472 MB / 0.5125 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.1356, allocations: 0.9 MB / 0.5134 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002466/0.1381, allocations: 1.801 MB / 0.5152 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.1392, allocations: 465.3 kB / 0.5156 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.1414, allocations: 0.9223 MB / 0.5165 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.1426, allocations: 0.6345 MB / 0.5171 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.1428, allocations: 60 kB / 0.5172 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.1438, allocations: 311.6 kB / 0.5175 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.1442, allocations: 259.2 kB / 0.5177 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005909/0.1448, allocations: 390.2 kB / 0.5181 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.1463, allocations: 1.083 MB / 0.5191 GB, free: 11.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1463, allocations: 4 kB / 0.5192 GB, free: 11.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1463, allocations: 0 / 0.5192 GB, free: 11.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.1463, allocations: 0 / 0.5192 GB, free: 11.64 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.002552/0.1489, allocations: 1.055 MB / 0.5202 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.149, allocations: 11.89 kB / 0.5202 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002001/0.1492, allocations: 102.7 kB / 0.5203 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.1496, allocations: 88.08 kB / 0.5204 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1508, allocations: 0.5326 MB / 0.5209 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.1509, allocations: 108.9 kB / 0.521 GB, free: 9.645 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.151, allocations: 52.12 kB / 0.5211 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.1524, allocations: 0.8097 MB / 0.5218 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.1524, allocations: 4 kB / 0.5218 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.1525, allocations: 23.98 kB / 0.5219 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.1525, allocations: 48.86 kB / 0.5219 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1536, allocations: 0.6478 MB / 0.5225 GB, free: 7.984 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.005189/0.1588, allocations: 4.209 MB / 0.5267 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.1597, allocations: 427.7 kB / 0.5271 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.1601, allocations: 209.4 kB / 0.5273 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.1606, allocations: 0.495 MB / 0.5277 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1606, allocations: 42.89 kB / 0.5278 GB, free: 2.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.696e-06/0.1606, allocations: 0 / 0.5278 GB, free: 2.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003285/0.1639, allocations: 1.529 MB / 0.5293 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.164, allocations: 132.5 kB / 0.5294 GB, free: 464 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1847/0.3487, allocations: 0.565 MB / 0.53 GB, free: 42.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.3488, allocations: 34.48 kB / 0.53 GB, free: 42.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3491, allocations: 352.3 kB / 0.5303 GB, free: 42.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3492, allocations: 169.7 kB / 0.5305 GB, free: 42.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.3494, allocations: 139.9 kB / 0.5306 GB, free: 42.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.3495, allocations: 379.9 kB / 0.531 GB, free: 42.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.3499, allocations: 227.8 kB / 0.5312 GB, free: 42.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.3504, allocations: 0.5159 MB / 0.5317 GB, free: 41.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008225/0.3512, allocations: 0.778 MB / 0.5325 GB, free: 41.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3512, allocations: 1.531 kB / 0.5325 GB, free: 41.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00169/0.3529, allocations: 0.9409 MB / 0.5334 GB, free: 41.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3529, allocations: 8.344 kB / 0.5334 GB, free: 41.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.3529, allocations: 9.25 kB / 0.5334 GB, free: 41.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.354, allocations: 272.4 kB / 0.5337 GB, free: 41.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/0.3545, allocations: 127.6 kB / 0.5338 GB, free: 41.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007729/0.3552, allocations: 0.8606 MB / 0.5346 GB, free: 40.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.3557, allocations: 28.45 kB / 0.5347 GB, free: 40.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.3558, allocations: 32.38 kB / 0.5347 GB, free: 40.69 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.0002721/0.3561, allocations: 247 kB / 0.5349 GB, free: 40.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3562, allocations: 67.97 kB / 0.535 GB, free: 40.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.3574, allocations: 0.7122 MB / 0.5357 GB, free: 40.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3575, allocations: 5.125 kB / 0.5357 GB, free: 40.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3575, allocations: 1.062 kB / 0.5357 GB, free: 40.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3575, allocations: 6.281 kB / 0.5357 GB, free: 40.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.3594, allocations: 1.398 MB / 0.5371 GB, free: 39.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.3594, allocations: 1.594 kB / 0.5371 GB, free: 39.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/0.3603, allocations: 199.2 kB / 0.5373 GB, free: 39.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002064/0.3605, allocations: 59.39 kB / 0.5373 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.3606, allocations: 17.81 kB / 0.5373 GB, free: 39.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.3622, allocations: 2.982 MB / 0.5402 GB, free: 36.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3622, allocations: 1.5 kB / 0.5402 GB, free: 36.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.3635, allocations: 1.005 MB / 0.5412 GB, free: 36.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.3637, allocations: 199.6 kB / 0.5414 GB, free: 36.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.3638, allocations: 17.41 kB / 0.5414 GB, free: 36.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.3642, allocations: 14.17 kB / 0.5414 GB, free: 36.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.3643, allocations: 41.66 kB / 0.5415 GB, free: 36.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.3643, allocations: 19.61 kB / 0.5415 GB, free: 36.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004413/0.3648, allocations: 417.4 kB / 0.5419 GB, free: 35.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3648, allocations: 1.125 kB / 0.5419 GB, free: 35.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007231/0.3655, allocations: 203.1 kB / 0.5421 GB, free: 35.81 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.001774/0.3673, allocations: 1.685 MB / 0.5437 GB, free: 34.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3684, allocations: 0.6014 MB / 0.5443 GB, free: 34.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3684, allocations: 1.281 kB / 0.5443 GB, free: 34.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.3696, allocations: 485.1 kB / 0.5448 GB, free: 34.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.3722, allocations: 378.3 kB / 0.5451 GB, free: 34.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.3874, allocations: 6.543 MB / 0.5515 GB, free: 30.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.3883, allocations: 0.9373 MB / 0.5525 GB, free: 29.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001425/0.3897, allocations: 197.8 kB / 0.5526 GB, free: 29.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.3902, allocations: 230.6 kB / 0.5529 GB, free: 29.43 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3902, allocations: 5.219 kB / 0.5529 GB, free: 29.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07224/0.4625, allocations: 22.44 MB / 0.5748 GB, free: 13.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.22, allocations: 16.3 kB / 0.5748 GB, free: 13.71 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