Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 113.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001837, allocations: 185 kB / 18.72 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2122/0.2122, allocations: 44.2 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3899, allocations: 60.82 MB / 0.5185 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005365/0.3953, allocations: 4.534 MB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004863/0.4002, allocations: 4.012 MB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.4004, allocations: 1.781 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.4007, allocations: 57.17 kB / 0.5269 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.4031, allocations: 0.7213 MB / 0.5276 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.4035, allocations: 138.6 kB / 0.5277 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006315/0.4041, allocations: 366.9 kB / 0.528 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.4042, allocations: 19.5 kB / 0.5281 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.4044, allocations: 142.8 kB / 0.5282 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.4047, allocations: 145.5 kB / 0.5283 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.4047, allocations: 8.062 kB / 0.5283 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.406, allocations: 426.9 kB / 0.5288 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.474e-05/0.4061, allocations: 54.84 kB / 0.5288 GB, free: 12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.4062, allocations: 102.8 kB / 0.5289 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008064/0.407, allocations: 471.5 kB / 0.5294 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4071, allocations: 0 / 0.5294 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4071, allocations: 0 / 0.5294 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4071, allocations: 0 / 0.5294 GB, free: 11.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001302/0.4084, allocations: 0.6059 MB / 0.5299 GB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.4085, allocations: 9.219 kB / 0.53 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.833e-05/0.4086, allocations: 59.05 kB / 0.53 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.4088, allocations: 32.69 kB / 0.53 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.4092, allocations: 228.9 kB / 0.5303 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.4094, allocations: 123.3 kB / 0.5304 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.4094, allocations: 22.19 kB / 0.5304 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.41, allocations: 327.1 kB / 0.5307 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.41, allocations: 0 / 0.5307 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.41, allocations: 11.59 kB / 0.5307 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.41, allocations: 6.812 kB / 0.5307 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.411, allocations: 0.7392 MB / 0.5315 GB, free: 10.12 MB / 398.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.00148/0.4125, allocations: 1.305 MB / 0.5327 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003581/0.4128, allocations: 160.9 kB / 0.5329 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.413, allocations: 89.56 kB / 0.533 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/0.4159, allocations: 2.815 MB / 0.5357 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4159, allocations: 35.94 kB / 0.5357 GB, free: 5.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.4159, allocations: 0 / 0.5357 GB, free: 5.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002962/0.4162, allocations: 120.1 kB / 0.5359 GB, free: 5.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.4163, allocations: 51.41 kB / 0.5359 GB, free: 5.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4165, allocations: 227.2 kB / 0.5361 GB, free: 5.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.4165, allocations: 33.62 kB / 0.5362 GB, free: 5.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.4167, allocations: 222.7 kB / 0.5364 GB, free: 4.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.4167, allocations: 46.33 kB / 0.5364 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.4168, allocations: 86.94 kB / 0.5365 GB, free: 4.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.417, allocations: 331.1 kB / 0.5368 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.548e-05/0.4171, allocations: 44.34 kB / 0.5369 GB, free: 4.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.4174, allocations: 354.4 kB / 0.5372 GB, free: 4.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.4178, allocations: 441.1 kB / 0.5376 GB, free: 3.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4178, allocations: 0 / 0.5376 GB, free: 3.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006133/0.4185, allocations: 380.2 kB / 0.538 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4185, allocations: 12.03 kB / 0.538 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.4185, allocations: 15.03 kB / 0.538 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.4186, allocations: 21.53 kB / 0.538 GB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.4188, allocations: 101.2 kB / 0.5381 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.329e-05/0.4189, allocations: 22.16 kB / 0.5381 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4191, allocations: 54.56 kB / 0.5382 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.4191, allocations: 32.92 kB / 0.5382 GB, free: 3.309 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4193, allocations: 143.2 kB / 0.5384 GB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4193, allocations: 21.3 kB / 0.5384 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.4196, allocations: 152.7 kB / 0.5385 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.4196, allocations: 6.078 kB / 0.5385 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4196, allocations: 0 / 0.5385 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4196, allocations: 0 / 0.5385 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.4202, allocations: 412.8 kB / 0.5389 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4202, allocations: 1.172 kB / 0.5389 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.4202, allocations: 14.8 kB / 0.5389 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.4203, allocations: 7.297 kB / 0.539 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.4203, allocations: 0 / 0.539 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4203, allocations: 3.469 kB / 0.539 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4203, allocations: 0 / 0.539 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.4205, allocations: 211.7 kB / 0.5392 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.4206, allocations: 105.8 kB / 0.5393 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.4207, allocations: 3.781 kB / 0.5393 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.4208, allocations: 6.453 kB / 0.5393 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.4209, allocations: 11.31 kB / 0.5393 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.4209, allocations: 8.25 kB / 0.5393 GB, free: 2.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.421, allocations: 152.5 kB / 0.5394 GB, free: 2.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4211, allocations: 0 / 0.5394 GB, free: 2.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.4216, allocations: 102 kB / 0.5395 GB, free: 2.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007779/0.4224, allocations: 0.793 MB / 0.5403 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.4228, allocations: 177.2 kB / 0.5405 GB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4229, allocations: 2.938 kB / 0.5405 GB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.4229, allocations: 14.94 kB / 0.5405 GB, free: 1.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4234, allocations: 55.5 kB / 0.5405 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.4266, allocations: 2.797 MB / 0.5433 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4269, allocations: 0.727 MB / 0.544 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000183/0.4271, allocations: 50.17 kB / 0.544 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.4272, allocations: 63.69 kB / 0.5441 GB, free: 13.87 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4272, allocations: 3.938 kB / 0.5441 GB, free: 13.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.4512, allocations: 5.211 MB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.17, allocations: 24.61 kB / 0.5492 GB, free: 10.87 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches