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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008263/0.0008263, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003332/0.003332, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8171/0.8171, allocations: 158.6 MB / 186.5 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.499e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.1388/0.1388, allocations: 14.48 MB / 313 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1405, allocations: 1.777 MB / 314.7 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1406, allocations: 6.812 kB / 314.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.1411, allocations: 168.4 kB / 314.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.1415, allocations: 336.6 kB / 315.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.142, allocations: 292.7 kB / 315.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006223/0.1426, allocations: 0.8452 MB / 316.4 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1428, allocations: 67.28 kB / 316.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008095/0.1436, allocations: 0.6282 MB / 317.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1439, allocations: 260.3 kB / 317.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.144, allocations: 29.09 kB / 317.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.1441, allocations: 35.83 kB / 317.4 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.1441, allocations: 103.5 kB / 317.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1442, allocations: 130 kB / 317.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.1447, allocations: 454.6 kB / 318.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.1447, allocations: 0 / 318.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1447, allocations: 1.375 kB / 318.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1447, allocations: 0 / 318.1 MB, free: 4.832 MB / 282.7 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.0006261/0.1453, allocations: 0.5146 MB / 318.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1453, allocations: 12.45 kB / 318.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.1454, allocations: 61.58 kB / 318.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1456, allocations: 43.3 kB / 318.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1459, allocations: 230.8 kB / 318.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1459, allocations: 18.94 kB / 318.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.1459, allocations: 27.44 kB / 319 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.1463, allocations: 457.8 kB / 319.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1463, allocations: 384 / 319.4 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1464, allocations: 19.3 kB / 319.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1464, allocations: 6.906 kB / 319.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1466, allocations: 193.3 kB / 319.6 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1476, allocations: 1.165 MB / 320.8 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1479, allocations: 174.6 kB / 321 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.509e-05/0.148, allocations: 87.97 kB / 321 MB, free: 2.621 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.148, allocations: 7.656 kB / 321.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.148, allocations: 33.23 kB / 321.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.182e-06/0.148, allocations: 0 / 321.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001466/0.1495, allocations: 0.8569 MB / 321.9 MB, free: 2.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1495, allocations: 57.2 kB / 322 MB, free: 2.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1497, allocations: 266.2 kB / 322.3 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1497, allocations: 32.2 kB / 322.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.1498, allocations: 180.8 kB / 322.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.1499, allocations: 97.83 kB / 322.6 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.1499, allocations: 64.86 kB / 322.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.15, allocations: 333.5 kB / 323 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1501, allocations: 85.02 kB / 323 MB, free: 1.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.1502, allocations: 182.7 kB / 323.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.1505, allocations: 283.5 kB / 323.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1505, allocations: 5.625 kB / 323.5 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004819/0.151, allocations: 388.8 kB / 323.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.151, allocations: 6.531 kB / 323.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.151, allocations: 3.125 kB / 323.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.1512, allocations: 63.08 kB / 323.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.1514, allocations: 71.61 kB / 324 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.1531, allocations: 2.659 MB / 326.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.1532, allocations: 11.28 kB / 326.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1532, allocations: 11.97 kB / 326.7 MB, free: 14.03 MB / 298.7 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.0001183/0.1533, allocations: 159 kB / 326.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.1534, allocations: 30.88 kB / 326.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.1534, allocations: 36.66 kB / 326.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1534, allocations: 6.844 kB / 326.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1534, allocations: 0 / 326.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004295/0.1538, allocations: 0.5651 MB / 327.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.1545, allocations: 0.6279 MB / 328.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1545, allocations: 0 / 328.1 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1546, allocations: 48.8 kB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001356/0.1548, allocations: 54.08 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.1548, allocations: 8.234 kB / 328.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007559/0.1555, allocations: 1.381 MB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1555, allocations: 3.984 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.1561, allocations: 465.1 kB / 330.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.1561, allocations: 27.98 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1561, allocations: 7.062 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.1562, allocations: 6.281 kB / 330.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.1562, allocations: 26.45 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.1563, allocations: 5.75 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1564, allocations: 187.8 kB / 330.3 MB, free: 11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 1.375 kB / 330.3 MB, free: 11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.1567, allocations: 86.38 kB / 330.4 MB, free: 10.99 MB / 298.7 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.0009188/0.1576, allocations: 0.9974 MB / 331.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.1582, allocations: 471.5 kB / 331.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1582, allocations: 0 / 331.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.1584, allocations: 226.5 kB / 332.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.1589, allocations: 164.7 kB / 332.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.1618, allocations: 3.094 MB / 335.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1619, allocations: 157.5 kB / 335.5 MB, free: 7.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.162, allocations: 54.62 kB / 335.5 MB, free: 7.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.1621, allocations: 91.12 kB / 335.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1621, allocations: 0 / 335.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.1908, allocations: 9.96 MB / 345.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.178, allocations: 8 kB / 345.6 MB, free: 14.51 MB / 314.7 MB " [Timeout remaining time 652] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.73325239494443]