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.001075/0.001075, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001156/0.001156, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2193/0.2193, allocations: 44.18 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 64.03 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4227, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006199/0.4289, allocations: 4.54 MB / 0.5229 GB, free: 28 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005428/0.4344, allocations: 4.002 MB / 0.5268 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.4346, allocations: 6.031 kB / 0.5268 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.4349, allocations: 62.42 kB / 0.5269 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.437, allocations: 0.7119 MB / 0.5276 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.4374, allocations: 134.4 kB / 0.5277 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005877/0.438, allocations: 371.1 kB / 0.528 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.4381, allocations: 11.98 kB / 0.528 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.4383, allocations: 147.3 kB / 0.5282 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.4386, allocations: 153 kB / 0.5283 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.4387, allocations: 8.438 kB / 0.5283 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009938/0.4396, allocations: 428.3 kB / 0.5287 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/0.4397, allocations: 42.77 kB / 0.5288 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.4399, allocations: 110.3 kB / 0.5289 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008029/0.4407, allocations: 469.2 kB / 0.5293 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4407, allocations: 5.156 kB / 0.5293 GB, free: 11.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4407, allocations: 0 / 0.5293 GB, free: 11.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4407, allocations: 0 / 0.5293 GB, free: 11.82 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.001199/0.4419, allocations: 0.5983 MB / 0.5299 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.442, allocations: 13.75 kB / 0.5299 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/0.4421, allocations: 59.17 kB / 0.53 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.4422, allocations: 24.75 kB / 0.53 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.4426, allocations: 224.9 kB / 0.5302 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.4427, allocations: 123.3 kB / 0.5304 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.4428, allocations: 25.91 kB / 0.5304 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.4433, allocations: 331.1 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4434, allocations: 0 / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.4434, allocations: 12.09 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.4434, allocations: 5.875 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008838/0.4443, allocations: 0.7357 MB / 0.5314 GB, free: 10.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.001371/0.4457, allocations: 1.297 MB / 0.5327 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.4461, allocations: 169.1 kB / 0.5329 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.4462, allocations: 81.55 kB / 0.5329 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/0.4486, allocations: 2.81 MB / 0.5357 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.4486, allocations: 41.31 kB / 0.5357 GB, free: 5.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.4486, allocations: 0 / 0.5357 GB, free: 5.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003086/0.4489, allocations: 127.2 kB / 0.5358 GB, free: 5.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.449, allocations: 52.72 kB / 0.5359 GB, free: 5.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.4492, allocations: 218.5 kB / 0.5361 GB, free: 5.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4492, allocations: 25.7 kB / 0.5361 GB, free: 5.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4493, allocations: 222.4 kB / 0.5363 GB, free: 5.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.4494, allocations: 47 kB / 0.5364 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.4495, allocations: 85.78 kB / 0.5365 GB, free: 5.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4496, allocations: 326.2 kB / 0.5368 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.4497, allocations: 52.67 kB / 0.5368 GB, free: 4.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.45, allocations: 345.2 kB / 0.5372 GB, free: 4.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/0.4504, allocations: 442.5 kB / 0.5376 GB, free: 3.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4504, allocations: 4.156 kB / 0.5376 GB, free: 3.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005467/0.451, allocations: 378 kB / 0.5379 GB, free: 3.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.451, allocations: 9.562 kB / 0.538 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.451, allocations: 15.62 kB / 0.538 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/0.451, allocations: 22.45 kB / 0.538 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.4513, allocations: 101.5 kB / 0.5381 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/0.4513, allocations: 21.89 kB / 0.5381 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.4515, allocations: 50.12 kB / 0.5382 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.4516, allocations: 27.72 kB / 0.5382 GB, free: 3.465 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.0001171/0.4517, allocations: 156.5 kB / 0.5383 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.4518, allocations: 21.36 kB / 0.5383 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.4521, allocations: 144.9 kB / 0.5385 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.4521, allocations: 1.094 kB / 0.5385 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4521, allocations: 1.062 kB / 0.5385 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4521, allocations: 0 / 0.5385 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.4525, allocations: 415.8 kB / 0.5389 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.4525, allocations: 0.8281 kB / 0.5389 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.4526, allocations: 19.2 kB / 0.5389 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4526, allocations: 1.312 kB / 0.5389 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4526, allocations: 2.562 kB / 0.5389 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4526, allocations: 1.031 kB / 0.5389 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4526, allocations: 1.031 kB / 0.5389 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.4528, allocations: 215.2 kB / 0.5391 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.4529, allocations: 99.97 kB / 0.5392 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.453, allocations: 5.906 kB / 0.5392 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4531, allocations: 7.156 kB / 0.5392 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.4531, allocations: 12.2 kB / 0.5392 GB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4532, allocations: 3.188 kB / 0.5392 GB, free: 2.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4533, allocations: 160.9 kB / 0.5394 GB, free: 2.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4533, allocations: 0 / 0.5394 GB, free: 2.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005154/0.4538, allocations: 90.47 kB / 0.5395 GB, free: 2.309 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.0006135/0.4545, allocations: 0.8041 MB / 0.5403 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003107/0.4548, allocations: 174.9 kB / 0.5404 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4548, allocations: 0 / 0.5404 GB, free: 1.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.083e-05/0.4548, allocations: 27.11 kB / 0.5405 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4553, allocations: 40.52 kB / 0.5405 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.4581, allocations: 2.795 MB / 0.5432 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4584, allocations: 0.7227 MB / 0.5439 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.4586, allocations: 54.55 kB / 0.544 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.4587, allocations: 63 kB / 0.544 GB, free: 14.03 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4587, allocations: 0 / 0.544 GB, free: 14.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.4849, allocations: 5.267 MB / 0.5492 GB, free: 11.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.207, allocations: 8.984 kB / 0.5492 GB, free: 11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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