Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001622/0.001622, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002004/0.002004, allocations: 212.9 kB / 23.73 MB, free: 4.164 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2309/0.2309, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 79.88 kB / 0.4962 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3481, allocations: 66.08 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02375/0.3719, allocations: 18.68 MB / 0.5789 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006868/0.3787, allocations: 3.987 MB / 0.5828 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.3794, allocations: 27.75 kB / 0.5829 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.3806, allocations: 310 kB / 0.5832 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.383, allocations: 0.89 MB / 0.584 GB, free: 12.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002601/0.3856, allocations: 0.9106 MB / 0.5849 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3881, allocations: 1.817 MB / 0.5867 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007872/0.3889, allocations: 397.5 kB / 0.5871 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/0.3912, allocations: 0.9574 MB / 0.588 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.3927, allocations: 0.6615 MB / 0.5887 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.3929, allocations: 60 kB / 0.5887 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00094/0.3938, allocations: 287.6 kB / 0.589 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.3942, allocations: 267.2 kB / 0.5892 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.3946, allocations: 330.6 kB / 0.5896 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3961, allocations: 1.082 MB / 0.5906 GB, free: 5.293 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3961, allocations: 0 / 0.5906 GB, free: 5.293 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3962, allocations: 0 / 0.5906 GB, free: 5.293 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3962, allocations: 0 / 0.5906 GB, free: 5.293 MB / 430.1 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.00226/0.3984, allocations: 0.9873 MB / 0.5916 GB, free: 4.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3985, allocations: 8.031 kB / 0.5916 GB, free: 4.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.3986, allocations: 102.7 kB / 0.5917 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.399, allocations: 92.42 kB / 0.5918 GB, free: 4.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4, allocations: 478.7 kB / 0.5922 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.4002, allocations: 156.4 kB / 0.5924 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.4003, allocations: 64 kB / 0.5924 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.4017, allocations: 1.068 MB / 0.5935 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4018, allocations: 3.938 kB / 0.5935 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.4018, allocations: 23.98 kB / 0.5935 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/0.4019, allocations: 40.98 kB / 0.5935 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.403, allocations: 0.6439 MB / 0.5942 GB, free: 1.414 MB / 430.1 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.004911/0.4079, allocations: 3.406 MB / 0.5975 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.4088, allocations: 392 kB / 0.5979 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.4091, allocations: 197.4 kB / 0.5981 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.4094, allocations: 48.28 kB / 0.5981 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4094, allocations: 38.89 kB / 0.5981 GB, free: 13.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.4094, allocations: 0 / 0.5981 GB, free: 13.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003244/0.4127, allocations: 1.463 MB / 0.5996 GB, free: 11.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.4128, allocations: 132.5 kB / 0.5997 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.4135, allocations: 0.5926 MB / 0.6003 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.4136, allocations: 37.7 kB / 0.6003 GB, free: 10.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000312/0.4139, allocations: 359.9 kB / 0.6007 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.414, allocations: 166.5 kB / 0.6008 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.4142, allocations: 142.6 kB / 0.601 GB, free: 10.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.4144, allocations: 378.7 kB / 0.6013 GB, free: 9.852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.4148, allocations: 225.9 kB / 0.6015 GB, free: 9.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.4155, allocations: 0.5923 MB / 0.6021 GB, free: 8.883 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4166, allocations: 0.7796 MB / 0.6029 GB, free: 7.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4166, allocations: 11.88 kB / 0.6029 GB, free: 7.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001764/0.4184, allocations: 0.9339 MB / 0.6038 GB, free: 7.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.4184, allocations: 12 kB / 0.6038 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4184, allocations: 11.98 kB / 0.6038 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4195, allocations: 256.8 kB / 0.6041 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.4199, allocations: 131.8 kB / 0.6042 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.421, allocations: 0.8671 MB / 0.605 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.4216, allocations: 31.98 kB / 0.6051 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.4216, allocations: 35.98 kB / 0.6051 GB, free: 5.66 MB / 446.1 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.0004108/0.422, allocations: 254.1 kB / 0.6053 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.4222, allocations: 71.56 kB / 0.6054 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.4236, allocations: 0.7058 MB / 0.6061 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.4236, allocations: 8 kB / 0.6061 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4237, allocations: 0 / 0.6061 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4237, allocations: 3.984 kB / 0.6061 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.426, allocations: 1.301 MB / 0.6074 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.426, allocations: 8.031 kB / 0.6074 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.4269, allocations: 187.8 kB / 0.6076 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.4272, allocations: 56.78 kB / 0.6076 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.4272, allocations: 12 kB / 0.6076 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/0.4298, allocations: 2.78 MB / 0.6104 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4298, allocations: 224 / 0.6104 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4316, allocations: 1.009 MB / 0.6113 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.432, allocations: 119.5 kB / 0.6115 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4321, allocations: 19.98 kB / 0.6115 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.4324, allocations: 12 kB / 0.6115 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.4325, allocations: 43.81 kB / 0.6115 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.587e-05/0.4326, allocations: 19.98 kB / 0.6115 GB, free: 14.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005779/0.4331, allocations: 423 kB / 0.6119 GB, free: 14.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4331, allocations: 0 / 0.6119 GB, free: 14.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008129/0.434, allocations: 211.9 kB / 0.6121 GB, free: 14.08 MB / 462.1 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.002311/0.4363, allocations: 1.666 MB / 0.6138 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.4375, allocations: 0.5854 MB / 0.6143 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4375, allocations: 0 / 0.6143 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.4387, allocations: 474.5 kB / 0.6148 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.4405, allocations: 367.6 kB / 0.6151 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.4528, allocations: 6.551 MB / 0.6215 GB, free: 4.012 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.4532, allocations: 341.4 kB / 0.6219 GB, free: 3.652 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008834/0.4541, allocations: 209.7 kB / 0.6221 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.4546, allocations: 235.4 kB / 0.6223 GB, free: 3.23 MB / 462.1 MB Notification: Performance of SimCode: time 2.365e-06/0.4546, allocations: 0 / 0.6223 GB, free: 3.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/0.5362, allocations: 23.56 MB / 0.6453 GB, free: 12.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.27, allocations: 7.938 kB / 0.6453 GB, free: 12.03 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_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_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.389715308789164]