Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_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.0009547/0.0009545, allocations: 96.62 kB / 17.3 MB, free: 6.344 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.001047/0.001047, allocations: 179.2 kB / 18.21 MB, free: 5.531 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.563/1.563, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.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.0004769/0.000477, allocations: 15.98 kB / 281.5 MB, free: 3.312 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 47.58 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01461/0.1175, allocations: 15.45 MB / 344.5 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1197, allocations: 1.885 MB / 346.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.1199, allocations: 7.938 kB / 346.4 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.1204, allocations: 143.3 kB / 346.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.121, allocations: 310.4 kB / 346.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.1216, allocations: 259.6 kB / 347.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1227, allocations: 1.289 MB / 348.4 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1229, allocations: 76.67 kB / 348.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007874/0.1237, allocations: 446.1 kB / 348.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.124, allocations: 282.9 kB / 349.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.1241, allocations: 12 kB / 349.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1242, allocations: 27.94 kB / 349.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.1243, allocations: 79.7 kB / 349.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1245, allocations: 189 kB / 349.5 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.1249, allocations: 418.8 kB / 349.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1249, allocations: 0 / 349.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1249, allocations: 0 / 349.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1249, allocations: 0 / 349.9 MB, free: 14.73 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008063/0.1257, allocations: 0.5225 MB / 350.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1258, allocations: 12.03 kB / 350.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.988e-05/0.1258, allocations: 62.67 kB / 350.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1261, allocations: 48.55 kB / 350.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.1264, allocations: 279.7 kB / 350.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1264, allocations: 16.94 kB / 350.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.758e-05/0.1265, allocations: 24.38 kB / 350.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.127, allocations: 303.6 kB / 351.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.127, allocations: 8 kB / 351.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.127, allocations: 8 kB / 351.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1271, allocations: 8 kB / 351.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.1274, allocations: 201.5 kB / 351.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1289, allocations: 1.436 MB / 352.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1292, allocations: 182.6 kB / 353 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1294, allocations: 96.77 kB / 353.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1294, allocations: 0 / 353.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.1294, allocations: 38.56 kB / 353.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 9.62e-07/0.1294, allocations: 0 / 353.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.002368/0.1318, allocations: 0.9998 MB / 354.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1319, allocations: 55.41 kB / 354.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.1321, allocations: 258.6 kB / 354.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.1322, allocations: 33.69 kB / 354.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1323, allocations: 180.2 kB / 354.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.1323, allocations: 90.66 kB / 354.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.1324, allocations: 41.69 kB / 354.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1325, allocations: 338.8 kB / 355.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1327, allocations: 87.75 kB / 355.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1329, allocations: 182.8 kB / 355.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.1332, allocations: 283 kB / 355.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1332, allocations: 3.938 kB / 355.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006232/0.1339, allocations: 374.8 kB / 356 MB, free: 8.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1339, allocations: 8 kB / 356 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1339, allocations: 4 kB / 356 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.1342, allocations: 69.98 kB / 356.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.1345, allocations: 67.91 kB / 356.2 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.1365, allocations: 2.685 MB / 358.8 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.1367, allocations: 19.97 kB / 358.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1368, allocations: 16 kB / 358.9 MB, free: 5.008 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.1369, allocations: 153.8 kB / 359 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.137, allocations: 31.56 kB / 359.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.785e-05/0.1371, allocations: 42.17 kB / 359.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1371, allocations: 0 / 359.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1371, allocations: 4 kB / 359.1 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005789/0.1377, allocations: 0.5592 MB / 359.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009564/0.1386, allocations: 0.7066 MB / 360.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1387, allocations: 0 / 360.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.1389, allocations: 47.92 kB / 360.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/0.1391, allocations: 60.75 kB / 360.5 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.1391, allocations: 7.984 kB / 360.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1402, allocations: 1.39 MB / 361.9 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1403, allocations: 4.031 kB / 361.9 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.1409, allocations: 477 kB / 362.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.141, allocations: 96.86 kB / 362.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.141, allocations: 12.12 kB / 362.4 MB, free: 1.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.1413, allocations: 19.83 kB / 362.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1413, allocations: 19.97 kB / 362.5 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1413, allocations: 8 kB / 362.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.1415, allocations: 190 kB / 362.7 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1415, allocations: 0 / 362.7 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000372/0.1419, allocations: 88 kB / 362.8 MB, free: 0.7773 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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): 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.0009545/0.1428, allocations: 1.007 MB / 363.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.1435, allocations: 469.1 kB / 364.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1435, allocations: 4 kB / 364.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.1439, allocations: 235.3 kB / 364.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009429/0.1448, allocations: 157.7 kB / 364.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/0.1486, allocations: 3.326 MB / 367.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.149, allocations: 0.7606 MB / 368.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.1493, allocations: 50.95 kB / 368.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.1494, allocations: 87.41 kB / 368.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1494, allocations: 3.938 kB / 368.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1707, allocations: 8.209 MB / 377 MB, free: 2.227 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.171, allocations: 269.3 kB / 377.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/1.937, allocations: 3.938 kB / 377.3 MB, free: 1.859 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches