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.001253/0.001253, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.001364/0.001364, allocations: 205.4 kB / 24.38 MB, free: 4.203 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.476/1.476, allocations: 230.2 MB / 257.7 MB, free: 8.277 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.2358/0.2358, allocations: 46.89 MB / 361 MB, free: 4.477 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.002954/0.002954, allocations: 83.86 kB / 0.4962 GB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4978, allocations: 66.03 MB / 0.5607 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05479/0.5526, allocations: 44.21 MB / 0.6038 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.5605, allocations: 4.382 MB / 0.6081 GB, free: 3.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008446/0.5614, allocations: 27.75 kB / 0.6082 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.5625, allocations: 330 kB / 0.6085 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002398/0.5649, allocations: 0.8862 MB / 0.6093 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.5675, allocations: 0.914 MB / 0.6102 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.5701, allocations: 1.817 MB / 0.612 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.5709, allocations: 397.6 kB / 0.6124 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1015/0.6724, allocations: 44.26 MB / 0.6556 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/0.6922, allocations: 7.939 MB / 0.6634 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.6926, allocations: 56 kB / 0.6634 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/0.7179, allocations: 10.57 MB / 0.6737 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006985/0.7186, allocations: 271.1 kB / 0.674 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.7196, allocations: 390.2 kB / 0.6744 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.722, allocations: 1.078 MB / 0.6754 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.722, allocations: 0 / 0.6754 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.722, allocations: 0 / 0.6754 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.736e-05/0.722, allocations: 0 / 0.6754 GB, free: 14.38 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.002835/0.7248, allocations: 1.082 MB / 0.6765 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.7249, allocations: 8.031 kB / 0.6765 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.7251, allocations: 94.7 kB / 0.6766 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.7255, allocations: 92.45 kB / 0.6767 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.7265, allocations: 0.5292 MB / 0.6772 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.7266, allocations: 109 kB / 0.6773 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.7267, allocations: 47.94 kB / 0.6773 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7282, allocations: 0.8213 MB / 0.6781 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.7282, allocations: 0 / 0.6781 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.7283, allocations: 24 kB / 0.6781 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.774e-05/0.7283, allocations: 36.98 kB / 0.6782 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.7295, allocations: 0.6555 MB / 0.6788 GB, free: 10.7 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.005689/0.7352, allocations: 4.202 MB / 0.6829 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/0.7362, allocations: 392 kB / 0.6833 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.7365, allocations: 197.4 kB / 0.6835 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.7371, allocations: 0.5029 MB / 0.684 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.7372, allocations: 34.83 kB / 0.684 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 3.186e-06/0.7372, allocations: 8 kB / 0.684 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003506/0.7407, allocations: 1.524 MB / 0.6855 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.7408, allocations: 136.5 kB / 0.6856 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/0.7416, allocations: 0.5732 MB / 0.6862 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.7416, allocations: 37.7 kB / 0.6862 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.742, allocations: 359.9 kB / 0.6866 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.7421, allocations: 170.5 kB / 0.6867 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.7423, allocations: 146.5 kB / 0.6869 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.7425, allocations: 386.7 kB / 0.6872 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.743, allocations: 225.9 kB / 0.6875 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006602/0.7436, allocations: 0.5209 MB / 0.688 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.7447, allocations: 0.7758 MB / 0.6887 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.7448, allocations: 4 kB / 0.6887 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001914/0.7467, allocations: 0.93 MB / 0.6896 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.7467, allocations: 12.19 kB / 0.6897 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.7467, allocations: 12 kB / 0.6897 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.7478, allocations: 256.6 kB / 0.6899 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.7483, allocations: 131.8 kB / 0.69 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.7493, allocations: 0.8652 MB / 0.6909 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.7498, allocations: 32.06 kB / 0.6909 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.68e-05/0.7499, allocations: 35.94 kB / 0.6909 GB, free: 13.43 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.0004179/0.7503, allocations: 248 kB / 0.6912 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.7505, allocations: 67.58 kB / 0.6912 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.752, allocations: 0.7216 MB / 0.6919 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.752, allocations: 7.938 kB / 0.692 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.752, allocations: 0 / 0.692 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7521, allocations: 0 / 0.692 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.7547, allocations: 1.396 MB / 0.6933 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.7547, allocations: 4 kB / 0.6933 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/0.7557, allocations: 196 kB / 0.6935 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.7559, allocations: 56.73 kB / 0.6936 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.601e-05/0.756, allocations: 15.98 kB / 0.6936 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002811/0.7588, allocations: 2.983 MB / 0.6965 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.7588, allocations: 7.938 kB / 0.6965 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.7606, allocations: 1.006 MB / 0.6975 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.761, allocations: 204.5 kB / 0.6977 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.7611, allocations: 19.98 kB / 0.6977 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.7615, allocations: 8 kB / 0.6977 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.7616, allocations: 39.88 kB / 0.6977 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.7617, allocations: 23.98 kB / 0.6978 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006079/0.7623, allocations: 427 kB / 0.6982 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7623, allocations: 0 / 0.6982 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008314/0.7631, allocations: 207.9 kB / 0.6984 GB, free: 5.387 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.002313/0.7654, allocations: 1.671 MB / 0.7 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.7667, allocations: 0.5771 MB / 0.7006 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7667, allocations: 0.5625 kB / 0.7006 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.7679, allocations: 482 kB / 0.701 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.7697, allocations: 372.3 kB / 0.7014 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.7805, allocations: 6.562 MB / 0.7078 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/0.7813, allocations: 0.9345 MB / 0.7087 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007421/0.782, allocations: 203.1 kB / 0.7089 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.7824, allocations: 231.4 kB / 0.7091 GB, free: 9.926 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.7824, allocations: 0 / 0.7091 GB, free: 9.926 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05662/0.839, allocations: 22.75 MB / 0.7313 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.91, allocations: 6.125 kB / 0.7313 GB, free: 3.363 MB / 0.5606 GB " [Timeout remaining time 646] (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.0.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] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 17.275414276868105]