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.002118/0.002118, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.00242/0.00242, allocations: 213.6 kB / 23.73 MB, free: 4.406 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.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.2293/0.2293, allocations: 46.95 MB / 360.8 MB, free: 4.035 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.002643/0.002643, allocations: 80.2 kB / 0.4962 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3551, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05543/0.4105, allocations: 39.8 MB / 0.5996 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00661/0.4171, allocations: 4.075 MB / 0.6035 GB, free: 8.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.4176, allocations: 31.69 kB / 0.6036 GB, free: 7.992 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008606/0.4185, allocations: 306 kB / 0.6039 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.4203, allocations: 0.8823 MB / 0.6047 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.4226, allocations: 0.9101 MB / 0.6056 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.4248, allocations: 1.817 MB / 0.6074 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.4254, allocations: 401.6 kB / 0.6078 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1001/0.5255, allocations: 44.18 MB / 0.6509 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0197/0.5452, allocations: 7.915 MB / 0.6587 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.5458, allocations: 60 kB / 0.6587 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02756/0.5734, allocations: 10.57 MB / 0.669 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.574, allocations: 263.2 kB / 0.6693 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007865/0.5748, allocations: 330.6 kB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.5769, allocations: 1.078 MB / 0.6707 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5769, allocations: 0 / 0.6707 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5769, allocations: 0 / 0.6707 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.758e-05/0.5769, allocations: 0 / 0.6707 GB, free: 2.664 MB / 0.4981 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.002743/0.5797, allocations: 1.003 MB / 0.6716 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5797, allocations: 12.03 kB / 0.6716 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.5799, allocations: 94.7 kB / 0.6717 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.5803, allocations: 92.45 kB / 0.6718 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.5814, allocations: 482.7 kB / 0.6723 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.5816, allocations: 152.4 kB / 0.6724 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5817, allocations: 59.92 kB / 0.6725 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.5834, allocations: 1.068 MB / 0.6735 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.5834, allocations: 7.938 kB / 0.6735 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.5835, allocations: 20 kB / 0.6736 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.455e-05/0.5835, allocations: 40.92 kB / 0.6736 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.5847, allocations: 0.6439 MB / 0.6742 GB, free: 14.78 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.00504/0.5897, allocations: 3.406 MB / 0.6775 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009166/0.5907, allocations: 398.3 kB / 0.6779 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.591, allocations: 193.4 kB / 0.6781 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.5913, allocations: 48.3 kB / 0.6782 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.5914, allocations: 38.89 kB / 0.6782 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/0.5914, allocations: 0 / 0.6782 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003436/0.5948, allocations: 1.46 MB / 0.6796 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.5949, allocations: 136.5 kB / 0.6798 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.5957, allocations: 0.5848 MB / 0.6803 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.5958, allocations: 33.7 kB / 0.6804 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.5961, allocations: 363.8 kB / 0.6807 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.5962, allocations: 170.6 kB / 0.6809 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.5964, allocations: 142.6 kB / 0.681 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.5967, allocations: 378.7 kB / 0.6814 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.5971, allocations: 225.9 kB / 0.6816 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.5978, allocations: 0.5962 MB / 0.6822 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.599, allocations: 0.7796 MB / 0.6829 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.599, allocations: 7.938 kB / 0.6829 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002118/0.6012, allocations: 0.9333 MB / 0.6838 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.6012, allocations: 8 kB / 0.6838 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.6012, allocations: 8 kB / 0.6839 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.6024, allocations: 269.3 kB / 0.6841 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.6028, allocations: 127.8 kB / 0.6842 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.6039, allocations: 0.8627 MB / 0.6851 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.6045, allocations: 24 kB / 0.6851 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.6046, allocations: 32 kB / 0.6851 GB, free: 3.039 MB / 0.5137 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.0004689/0.605, allocations: 251.4 kB / 0.6854 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6052, allocations: 67.58 kB / 0.6854 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.6067, allocations: 0.7184 MB / 0.6861 GB, free: 2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6068, allocations: 4 kB / 0.6861 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.6068, allocations: 4 kB / 0.6861 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6068, allocations: 0 / 0.6861 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.6093, allocations: 1.305 MB / 0.6874 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6093, allocations: 0 / 0.6874 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.6102, allocations: 191.8 kB / 0.6876 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.6105, allocations: 61.02 kB / 0.6877 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.6105, allocations: 16 kB / 0.6877 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.6133, allocations: 2.769 MB / 0.6904 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6133, allocations: 4.031 kB / 0.6904 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.615, allocations: 1.001 MB / 0.6914 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.6154, allocations: 135.4 kB / 0.6915 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.6155, allocations: 12 kB / 0.6915 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.616, allocations: 20.12 kB / 0.6915 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6161, allocations: 43.8 kB / 0.6916 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/0.6161, allocations: 19.98 kB / 0.6916 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006103/0.6167, allocations: 419.1 kB / 0.692 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6167, allocations: 3.938 kB / 0.692 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008501/0.6176, allocations: 207.9 kB / 0.6922 GB, free: 11.45 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.002375/0.6199, allocations: 1.68 MB / 0.6938 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.6213, allocations: 0.5815 MB / 0.6944 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6213, allocations: 0 / 0.6944 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6225, allocations: 470 kB / 0.6948 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.6243, allocations: 373.1 kB / 0.6952 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.6356, allocations: 6.549 MB / 0.7016 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.6361, allocations: 341.4 kB / 0.7019 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007678/0.6368, allocations: 205.6 kB / 0.7021 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/0.6372, allocations: 231.4 kB / 0.7023 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.6372, allocations: 0 / 0.7023 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07968/0.7169, allocations: 23.58 MB / 0.7254 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.7, allocations: 8 kB / 0.7254 GB, free: 9.363 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.095736112911254]