Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 71.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3733, allocations: 62.45 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00661/0.38, allocations: 4.597 MB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005104/0.3851, allocations: 4.006 MB / 0.539 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.3853, allocations: 0.8438 kB / 0.539 GB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3857, allocations: 55.66 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.3878, allocations: 0.7238 MB / 0.5397 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.3881, allocations: 135 kB / 0.5398 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007552/0.3889, allocations: 382.6 kB / 0.5402 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.389, allocations: 18.17 kB / 0.5402 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.3893, allocations: 141.4 kB / 0.5404 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.3896, allocations: 147.4 kB / 0.5405 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.3897, allocations: 7.594 kB / 0.5405 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.3908, allocations: 427.8 kB / 0.5409 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.391, allocations: 43.28 kB / 0.541 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.3912, allocations: 114.1 kB / 0.5411 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.3923, allocations: 466.6 kB / 0.5415 GB, free: 4.844 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3923, allocations: 1.188 kB / 0.5415 GB, free: 4.844 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3923, allocations: 0 / 0.5415 GB, free: 4.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3923, allocations: 0 / 0.5415 GB, free: 4.844 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.001311/0.3937, allocations: 0.6096 MB / 0.5421 GB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3937, allocations: 9.594 kB / 0.5421 GB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.59e-05/0.3938, allocations: 63.03 kB / 0.5422 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.394, allocations: 28.5 kB / 0.5422 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3943, allocations: 229.1 kB / 0.5424 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3945, allocations: 122.5 kB / 0.5425 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3945, allocations: 28.06 kB / 0.5426 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.3951, allocations: 330.7 kB / 0.5429 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3951, allocations: 4 kB / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3952, allocations: 6.875 kB / 0.5429 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3952, allocations: 6.594 kB / 0.5429 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.3962, allocations: 0.7431 MB / 0.5436 GB, free: 3.25 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.001639/0.3978, allocations: 1.305 MB / 0.5449 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.3983, allocations: 165.4 kB / 0.5451 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3984, allocations: 85.73 kB / 0.5451 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002935/0.4014, allocations: 2.806 MB / 0.5479 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4014, allocations: 40.77 kB / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.4014, allocations: 0 / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003562/0.4018, allocations: 114.9 kB / 0.548 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4019, allocations: 52.78 kB / 0.5481 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.4021, allocations: 228.2 kB / 0.5483 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4021, allocations: 26.8 kB / 0.5483 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4023, allocations: 221.5 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.4024, allocations: 62.64 kB / 0.5486 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.4025, allocations: 78.81 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4027, allocations: 326.8 kB / 0.549 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.4028, allocations: 49.12 kB / 0.549 GB, free: 13.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.4031, allocations: 341.6 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005257/0.4037, allocations: 450.1 kB / 0.5498 GB, free: 12.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.4037, allocations: 4.031 kB / 0.5498 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008509/0.4045, allocations: 385.9 kB / 0.5502 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4046, allocations: 8 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.4046, allocations: 16.12 kB / 0.5502 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.4046, allocations: 15.94 kB / 0.5502 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.4049, allocations: 103.8 kB / 0.5503 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.4049, allocations: 15.94 kB / 0.5503 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.4053, allocations: 59.56 kB / 0.5504 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.4053, allocations: 31.98 kB / 0.5504 GB, free: 12.29 MB / 414.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.0001592/0.4055, allocations: 145.6 kB / 0.5505 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.4056, allocations: 19.91 kB / 0.5505 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.4059, allocations: 152.4 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4059, allocations: 0 / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4059, allocations: 0 / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4059, allocations: 0 / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.4064, allocations: 412.9 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4064, allocations: 0 / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.4065, allocations: 15.98 kB / 0.5511 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4065, allocations: 4 kB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.4065, allocations: 8.156 kB / 0.5511 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4065, allocations: 7.922 kB / 0.5511 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4065, allocations: 4 kB / 0.5511 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.4067, allocations: 209.9 kB / 0.5513 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.4068, allocations: 100.9 kB / 0.5514 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.4069, allocations: 3.953 kB / 0.5514 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.407, allocations: 11.98 kB / 0.5514 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.4071, allocations: 8 kB / 0.5514 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.4071, allocations: 4 kB / 0.5514 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.4072, allocations: 156.5 kB / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.4072, allocations: 0 / 0.5516 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005357/0.4078, allocations: 99.8 kB / 0.5517 GB, free: 10.82 MB / 414.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.0007251/0.4085, allocations: 0.7889 MB / 0.5525 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4088, allocations: 176.8 kB / 0.5526 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.4089, allocations: 0 / 0.5526 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.378e-05/0.4089, allocations: 25.56 kB / 0.5527 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.4094, allocations: 46.84 kB / 0.5527 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.4125, allocations: 2.796 MB / 0.5554 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.4129, allocations: 0.7284 MB / 0.5561 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.4131, allocations: 50.83 kB / 0.5562 GB, free: 5.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.573e-05/0.4132, allocations: 55.42 kB / 0.5562 GB, free: 5.707 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4132, allocations: 0 / 0.5562 GB, free: 5.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.4374, allocations: 5.229 MB / 0.5614 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/8.03, allocations: 15.59 kB / 0.5614 GB, free: 0.5781 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches