Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.242/0.242, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 68.59 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1105, allocations: 62.45 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.02867/0.1392, allocations: 25.07 MB / 0.4934 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006136/0.1453, allocations: 4.38 MB / 0.4976 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.1458, allocations: 27.81 kB / 0.4977 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.1466, allocations: 290.1 kB / 0.4979 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003253/0.1498, allocations: 1.587 MB / 0.4995 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.1526, allocations: 1.331 MB / 0.5008 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.1549, allocations: 1.848 MB / 0.5026 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007372/0.1556, allocations: 481.3 kB / 0.5031 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2211/0.3768, allocations: 3.027 MB / 0.506 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.379, allocations: 1.301 MB / 0.5073 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003031/0.3793, allocations: 60.91 kB / 0.5073 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3818, allocations: 1.184 MB / 0.5085 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.3822, allocations: 266.9 kB / 0.5088 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.3828, allocations: 405.5 kB / 0.5091 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001828/0.3846, allocations: 1.363 MB / 0.5105 GB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3846, allocations: 0 / 0.5105 GB, free: 13.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3846, allocations: 3.828 kB / 0.5105 GB, free: 13.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3846, allocations: 0 / 0.5105 GB, free: 13.28 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001999/0.3866, allocations: 1.127 MB / 0.5116 GB, free: 12.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3867, allocations: 8.344 kB / 0.5116 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.3868, allocations: 99.55 kB / 0.5117 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000991/0.3878, allocations: 146 kB / 0.5118 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006686/0.3885, allocations: 0.513 MB / 0.5123 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.138e-05/0.3886, allocations: 101.3 kB / 0.5124 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.3887, allocations: 56.34 kB / 0.5125 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.39, allocations: 0.8371 MB / 0.5133 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.39, allocations: 1.469 kB / 0.5133 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.3901, allocations: 24.53 kB / 0.5133 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.3902, allocations: 42.8 kB / 0.5134 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3913, allocations: 0.6013 MB / 0.5139 GB, free: 12.06 MB / 382.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.004544/0.3959, allocations: 4.684 MB / 0.5185 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.3965, allocations: 326.1 kB / 0.5188 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.3968, allocations: 147.3 kB / 0.519 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.397, allocations: 423.5 kB / 0.5194 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.397, allocations: 39.27 kB / 0.5194 GB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.943e-06/0.397, allocations: 0 / 0.5194 GB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00365/0.4007, allocations: 1.544 MB / 0.5209 GB, free: 7.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4007, allocations: 139.5 kB / 0.5211 GB, free: 7.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.4014, allocations: 0.6523 MB / 0.5217 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.4015, allocations: 36.95 kB / 0.5217 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.4017, allocations: 392.1 kB / 0.5221 GB, free: 7.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.4018, allocations: 127.6 kB / 0.5222 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.402, allocations: 146.8 kB / 0.5224 GB, free: 6.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.4021, allocations: 383.4 kB / 0.5227 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.4024, allocations: 200.9 kB / 0.5229 GB, free: 6.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.4029, allocations: 0.4927 MB / 0.5234 GB, free: 6.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.4037, allocations: 0.7136 MB / 0.5241 GB, free: 5.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.4037, allocations: 3.625 kB / 0.5241 GB, free: 5.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001467/0.4052, allocations: 0.8878 MB / 0.525 GB, free: 5.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.4052, allocations: 10.83 kB / 0.525 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4052, allocations: 8.969 kB / 0.525 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.4064, allocations: 284.6 kB / 0.5253 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/0.4068, allocations: 119.6 kB / 0.5254 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.4078, allocations: 1.412 MB / 0.5267 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.4083, allocations: 24.59 kB / 0.5268 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.4083, allocations: 38.84 kB / 0.5268 GB, free: 4.699 MB / 382.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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002785/0.4086, allocations: 244.8 kB / 0.527 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4087, allocations: 69.5 kB / 0.5271 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.4104, allocations: 0.7157 MB / 0.5278 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.4104, allocations: 4.062 kB / 0.5278 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4104, allocations: 1.125 kB / 0.5278 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.4104, allocations: 3 kB / 0.5278 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.4123, allocations: 1.216 MB / 0.529 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4123, allocations: 1.156 kB / 0.529 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.4125, allocations: 44.84 kB / 0.529 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.4132, allocations: 198.5 kB / 0.5292 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.4133, allocations: 21.34 kB / 0.5293 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007311/0.414, allocations: 1.299 MB / 0.5305 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.414, allocations: 0 / 0.5305 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.4151, allocations: 0.8119 MB / 0.5313 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.4153, allocations: 186.8 kB / 0.5315 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.4154, allocations: 6.812 kB / 0.5315 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.4158, allocations: 17.08 kB / 0.5315 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.4158, allocations: 26.67 kB / 0.5315 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.4159, allocations: 18.92 kB / 0.5316 GB, free: 2.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000439/0.4163, allocations: 460.6 kB / 0.532 GB, free: 2.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4163, allocations: 0 / 0.532 GB, free: 2.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008166/0.4172, allocations: 243.5 kB / 0.5322 GB, free: 2.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001777/0.4189, allocations: 1.522 MB / 0.5337 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.42, allocations: 0.5564 MB / 0.5343 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4201, allocations: 5.234 kB / 0.5343 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.4205, allocations: 226.5 kB / 0.5345 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.422, allocations: 346.2 kB / 0.5348 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007568/0.4295, allocations: 6.366 MB / 0.541 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.4301, allocations: 0.9317 MB / 0.5419 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007935/0.4309, allocations: 261.8 kB / 0.5422 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.4312, allocations: 227.5 kB / 0.5424 GB, free: 12.62 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4312, allocations: 0 / 0.5424 GB, free: 12.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.4786, allocations: 21.76 MB / 0.5637 GB, free: 9.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.07, allocations: 19.94 kB / 0.5637 GB, free: 9.633 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches