Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009279/0.0009279, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.904/0.904, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 34.23 MB / 294.8 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.716e-05, allocations: 5.094 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2508/0.2508, allocations: 39.67 MB / 481.8 MB, free: 19.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.2544, allocations: 4.063 MB / 485.9 MB, free: 16.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.2547, allocations: 26.66 kB / 485.9 MB, free: 16.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.2554, allocations: 307.6 kB / 486.2 MB, free: 16.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.2564, allocations: 0.9102 MB / 487.1 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.2579, allocations: 0.9499 MB / 488.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.259, allocations: 1.828 MB / 489.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.2593, allocations: 390.8 kB / 490.3 MB, free: 14.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05707/0.3164, allocations: 44.58 MB / 0.5224 GB, free: 3.734 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01116/0.3276, allocations: 7.899 MB / 0.5301 GB, free: 11.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3278, allocations: 63.19 kB / 0.5301 GB, free: 11.69 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.3395, allocations: 10.6 MB / 0.5405 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000317/0.3398, allocations: 279.1 kB / 0.5407 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.3403, allocations: 287.3 kB / 0.541 GB, free: 432 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.3417, allocations: 1.118 MB / 0.5421 GB, free: 15.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3417, allocations: 0 / 0.5421 GB, free: 15.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3417, allocations: 0 / 0.5421 GB, free: 15.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3417, allocations: 4 kB / 0.5421 GB, free: 15.3 MB / 458.7 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.001507/0.3432, allocations: 0.9834 MB / 0.5431 GB, free: 14.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3432, allocations: 12.03 kB / 0.5431 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.605e-05/0.3433, allocations: 94.7 kB / 0.5432 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3435, allocations: 100.4 kB / 0.5433 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006461/0.3442, allocations: 478 kB / 0.5437 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.3443, allocations: 152.4 kB / 0.5439 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.844e-05/0.3444, allocations: 48.38 kB / 0.5439 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3454, allocations: 1.069 MB / 0.545 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3454, allocations: 7.938 kB / 0.545 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.3455, allocations: 20 kB / 0.545 GB, free: 12.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.3455, allocations: 40.98 kB / 0.545 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.3463, allocations: 0.6439 MB / 0.5457 GB, free: 11.45 MB / 458.7 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.002838/0.3491, allocations: 3.405 MB / 0.549 GB, free: 7.918 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.3497, allocations: 401.5 kB / 0.5494 GB, free: 7.52 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3499, allocations: 193.4 kB / 0.5495 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.35, allocations: 56.28 kB / 0.5496 GB, free: 7.273 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.35, allocations: 34.89 kB / 0.5496 GB, free: 7.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.783e-06/0.35, allocations: 4 kB / 0.5496 GB, free: 7.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.002322/0.3524, allocations: 1.445 MB / 0.5511 GB, free: 5.742 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.3524, allocations: 144.5 kB / 0.5512 GB, free: 5.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.3529, allocations: 0.5848 MB / 0.5518 GB, free: 4.977 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3529, allocations: 37.7 kB / 0.5518 GB, free: 4.934 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3531, allocations: 355.9 kB / 0.5521 GB, free: 4.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.869e-05/0.3532, allocations: 174.6 kB / 0.5523 GB, free: 4.406 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3533, allocations: 135.2 kB / 0.5524 GB, free: 4.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3534, allocations: 374.8 kB / 0.5528 GB, free: 3.895 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3537, allocations: 225.8 kB / 0.553 GB, free: 3.676 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.3541, allocations: 0.604 MB / 0.5536 GB, free: 2.914 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/0.3547, allocations: 0.7767 MB / 0.5544 GB, free: 2.008 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3547, allocations: 6.688 kB / 0.5544 GB, free: 2.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001089/0.3558, allocations: 0.9393 MB / 0.5553 GB, free: 1.055 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3558, allocations: 12.84 kB / 0.5553 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3559, allocations: 8 kB / 0.5553 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.3565, allocations: 267.7 kB / 0.5556 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3567, allocations: 119.8 kB / 0.5557 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.3574, allocations: 0.8684 MB / 0.5565 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.3577, allocations: 28.06 kB / 0.5565 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.3577, allocations: 39.98 kB / 0.5566 GB, free: 15.7 MB / 474.7 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.0002366/0.3579, allocations: 244.3 kB / 0.5568 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.358, allocations: 67.58 kB / 0.5569 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.3589, allocations: 0.7174 MB / 0.5576 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3589, allocations: 8 kB / 0.5576 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3589, allocations: 4 kB / 0.5576 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3589, allocations: 3.984 kB / 0.5576 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.3605, allocations: 1.3 MB / 0.5589 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3605, allocations: 0 / 0.5589 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.361, allocations: 192 kB / 0.559 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/0.3612, allocations: 56.73 kB / 0.5591 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3612, allocations: 19.98 kB / 0.5591 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.3627, allocations: 2.768 MB / 0.5618 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3627, allocations: 4.031 kB / 0.5618 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.3637, allocations: 1.001 MB / 0.5628 GB, free: 8.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.3639, allocations: 127.5 kB / 0.5629 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.3639, allocations: 12 kB / 0.5629 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3641, allocations: 15.98 kB / 0.5629 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.3642, allocations: 43.81 kB / 0.563 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.3642, allocations: 19.98 kB / 0.563 GB, free: 8.766 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003212/0.3645, allocations: 423 kB / 0.5634 GB, free: 8.352 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3645, allocations: 0 / 0.5634 GB, free: 8.352 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00048/0.365, allocations: 207.8 kB / 0.5636 GB, free: 8.148 MB / 474.7 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.00169/0.3667, allocations: 1.673 MB / 0.5652 GB, free: 6.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007111/0.3674, allocations: 0.5812 MB / 0.5658 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3674, allocations: 0 / 0.5658 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.3681, allocations: 471.6 kB / 0.5663 GB, free: 5.371 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009576/0.369, allocations: 380.4 kB / 0.5666 GB, free: 5.027 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.3753, allocations: 6.478 MB / 0.573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3756, allocations: 341.4 kB / 0.5733 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00044/0.376, allocations: 207.8 kB / 0.5735 GB, free: 13.61 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.3762, allocations: 228.4 kB / 0.5737 GB, free: 13.39 MB / 490.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3762, allocations: 4 kB / 0.5737 GB, free: 13.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.4135, allocations: 23.67 MB / 0.5968 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.675/9.089, allocations: 0 / 0.5968 GB, free: 6.086 MB / 0.4948 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.223308390937746]