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.001277/0.001277, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001383/0.001383, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 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 1.417/1.417, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2275/0.2275, allocations: 46.93 MB / 360.8 MB, free: 4.176 MB / 286.1 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 0.002356/0.002356, allocations: 79.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3331, allocations: 66.07 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05368/0.3868, allocations: 44.62 MB / 0.6043 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006938/0.3937, allocations: 4.421 MB / 0.6086 GB, free: 3.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.3944, allocations: 27.75 kB / 0.6087 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009716/0.3953, allocations: 322 kB / 0.609 GB, free: 2.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.3977, allocations: 0.8901 MB / 0.6098 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.4001, allocations: 0.9061 MB / 0.6107 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.4027, allocations: 1.813 MB / 0.6125 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.4034, allocations: 401.6 kB / 0.6129 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1007/0.504, allocations: 44.27 MB / 0.6561 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01751/0.5215, allocations: 7.943 MB / 0.6639 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.5218, allocations: 60 kB / 0.6639 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02459/0.5463, allocations: 10.6 MB / 0.6743 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007941/0.5471, allocations: 271.2 kB / 0.6745 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007212/0.5479, allocations: 394.2 kB / 0.6749 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.5496, allocations: 1.086 MB / 0.676 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.5496, allocations: 0 / 0.676 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5496, allocations: 0 / 0.676 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5496, allocations: 3.938 kB / 0.676 GB, free: 13.49 MB / 0.5137 GB 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.002222/0.5518, allocations: 1.003 MB / 0.6769 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.5518, allocations: 8.031 kB / 0.677 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.552, allocations: 94.7 kB / 0.677 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/0.5523, allocations: 96.45 kB / 0.6771 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009073/0.5532, allocations: 470.7 kB / 0.6776 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.5534, allocations: 152.4 kB / 0.6777 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.5535, allocations: 59.92 kB / 0.6778 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.5548, allocations: 0.8207 MB / 0.6786 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5548, allocations: 3.938 kB / 0.6786 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.5549, allocations: 20 kB / 0.6786 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-05/0.5549, allocations: 40.98 kB / 0.6787 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5561, allocations: 0.6516 MB / 0.6793 GB, free: 9.93 MB / 0.5137 GB 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.005142/0.5612, allocations: 4.17 MB / 0.6834 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/0.5621, allocations: 392 kB / 0.6837 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.5624, allocations: 201.4 kB / 0.6839 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.5627, allocations: 48.28 kB / 0.684 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.5628, allocations: 38.89 kB / 0.684 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.314e-06/0.5628, allocations: 4 kB / 0.684 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003304/0.5661, allocations: 1.456 MB / 0.6854 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.5662, allocations: 144.5 kB / 0.6856 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.5669, allocations: 0.5655 MB / 0.6861 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.5669, allocations: 33.7 kB / 0.6862 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.5672, allocations: 363.9 kB / 0.6865 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.5674, allocations: 174.5 kB / 0.6867 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.5676, allocations: 134.6 kB / 0.6868 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5678, allocations: 382.7 kB / 0.6872 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.5682, allocations: 225.8 kB / 0.6874 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/0.5689, allocations: 0.5287 MB / 0.6879 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.5699, allocations: 0.7679 MB / 0.6886 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5699, allocations: 4 kB / 0.6886 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001872/0.5718, allocations: 0.9379 MB / 0.6896 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5718, allocations: 10.34 kB / 0.6896 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5719, allocations: 12.12 kB / 0.6896 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.573, allocations: 264.6 kB / 0.6898 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.5734, allocations: 123.8 kB / 0.69 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.5745, allocations: 0.8671 MB / 0.6908 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.5749, allocations: 28.06 kB / 0.6908 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.575, allocations: 47.92 kB / 0.6909 GB, free: 13.35 MB / 0.5294 GB 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.0003821/0.5754, allocations: 247.5 kB / 0.6911 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.5755, allocations: 67.58 kB / 0.6912 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.577, allocations: 0.7189 MB / 0.6919 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.577, allocations: 4 kB / 0.6919 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.577, allocations: 4 kB / 0.6919 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.577, allocations: 3.984 kB / 0.6919 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.5793, allocations: 1.375 MB / 0.6932 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5793, allocations: 4 kB / 0.6932 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5804, allocations: 192 kB / 0.6934 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.5806, allocations: 56.73 kB / 0.6935 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.5807, allocations: 11.98 kB / 0.6935 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.5834, allocations: 2.773 MB / 0.6962 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5834, allocations: 7.969 kB / 0.6962 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5851, allocations: 1.013 MB / 0.6972 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.5854, allocations: 123.5 kB / 0.6973 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.5855, allocations: 11.98 kB / 0.6973 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.5859, allocations: 16.14 kB / 0.6973 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.586, allocations: 43.86 kB / 0.6974 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.586, allocations: 23.98 kB / 0.6974 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005639/0.5866, allocations: 427.1 kB / 0.6978 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5866, allocations: 0 / 0.6978 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000817/0.5874, allocations: 207.8 kB / 0.698 GB, free: 5.688 MB / 0.5294 GB 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.002248/0.5897, allocations: 1.665 MB / 0.6996 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00123/0.5909, allocations: 0.5771 MB / 0.7002 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5909, allocations: 0.5 kB / 0.7002 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.5921, allocations: 478 kB / 0.7007 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.5938, allocations: 367.8 kB / 0.701 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.6038, allocations: 6.558 MB / 0.7074 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.6044, allocations: 0.9384 MB / 0.7083 GB, free: 10.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000696/0.6051, allocations: 213.8 kB / 0.7085 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.6055, allocations: 231.4 kB / 0.7087 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.6055, allocations: 0 / 0.7087 GB, free: 10.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07235/0.6778, allocations: 22.78 MB / 0.731 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.69, allocations: 6.812 kB / 0.731 GB, free: 3.637 MB / 0.5606 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/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: 18.028521726999315]