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.001193/0.001193, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2128/0.2128, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 75.88 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4088, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008227/0.417, allocations: 4.599 MB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.4226, allocations: 4.015 MB / 0.539 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.4229, allocations: 1.344 kB / 0.539 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.4233, allocations: 51.23 kB / 0.539 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.426, allocations: 0.723 MB / 0.5397 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.4265, allocations: 143.2 kB / 0.5398 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008305/0.4273, allocations: 374.6 kB / 0.5402 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.563e-05/0.4274, allocations: 13.58 kB / 0.5402 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003943/0.4278, allocations: 149 kB / 0.5404 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003922/0.4282, allocations: 143.5 kB / 0.5405 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.4283, allocations: 8.156 kB / 0.5405 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.4297, allocations: 433.1 kB / 0.5409 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.4299, allocations: 49.84 kB / 0.541 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.4301, allocations: 98.59 kB / 0.5411 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.4316, allocations: 473.6 kB / 0.5415 GB, free: 4.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.4316, allocations: 1 kB / 0.5415 GB, free: 4.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4316, allocations: 0 / 0.5415 GB, free: 4.824 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4317, allocations: 0 / 0.5415 GB, free: 4.824 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.001498/0.4332, allocations: 0.5989 MB / 0.5421 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4332, allocations: 8.719 kB / 0.5421 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.186e-05/0.4333, allocations: 59.77 kB / 0.5422 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.4335, allocations: 24.12 kB / 0.5422 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.434, allocations: 232.9 kB / 0.5424 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.4341, allocations: 132.1 kB / 0.5425 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.4342, allocations: 25.98 kB / 0.5426 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.4348, allocations: 323.1 kB / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4349, allocations: 0 / 0.5429 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.4349, allocations: 15.94 kB / 0.5429 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.4349, allocations: 5.438 kB / 0.5429 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.4358, allocations: 0.7318 MB / 0.5436 GB, free: 3.254 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.001558/0.4374, allocations: 1.301 MB / 0.5449 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.4378, allocations: 173.9 kB / 0.545 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.438, allocations: 90.22 kB / 0.5451 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002862/0.4408, allocations: 2.802 MB / 0.5479 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.4409, allocations: 39.72 kB / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.4409, allocations: 0 / 0.5479 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003742/0.4413, allocations: 119.2 kB / 0.548 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4413, allocations: 53 kB / 0.5481 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.4416, allocations: 220.2 kB / 0.5483 GB, free: 14.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.4416, allocations: 25.7 kB / 0.5483 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.4418, allocations: 225.8 kB / 0.5485 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.4419, allocations: 34.64 kB / 0.5485 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.442, allocations: 90.47 kB / 0.5486 GB, free: 14.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4422, allocations: 330.7 kB / 0.5489 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.4423, allocations: 44.66 kB / 0.549 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.4427, allocations: 352.9 kB / 0.5493 GB, free: 13.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.4432, allocations: 443.5 kB / 0.5497 GB, free: 12.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.4433, allocations: 7.562 kB / 0.5498 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006835/0.4439, allocations: 382.4 kB / 0.5501 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.444, allocations: 11 kB / 0.5501 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.444, allocations: 15.83 kB / 0.5501 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.444, allocations: 19.94 kB / 0.5502 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.4443, allocations: 95.84 kB / 0.5503 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.4443, allocations: 23.86 kB / 0.5503 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.4446, allocations: 55.42 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.4447, allocations: 28 kB / 0.5504 GB, free: 12.32 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.0001378/0.4448, allocations: 165.8 kB / 0.5505 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.4449, allocations: 15.81 kB / 0.5505 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.4452, allocations: 144.9 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.4452, allocations: 0 / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4452, allocations: 0 / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4452, allocations: 4 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.4457, allocations: 408.8 kB / 0.5511 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4458, allocations: 4 kB / 0.5511 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.4458, allocations: 8 kB / 0.5511 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4458, allocations: 8.094 kB / 0.5511 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4458, allocations: 0 / 0.5511 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4459, allocations: 4 kB / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4459, allocations: 0 / 0.5511 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4461, allocations: 209.7 kB / 0.5513 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.4462, allocations: 104.9 kB / 0.5514 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.4462, allocations: 7.938 kB / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.4464, allocations: 0 / 0.5514 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4465, allocations: 11.92 kB / 0.5514 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.4465, allocations: 8 kB / 0.5514 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.4466, allocations: 152.5 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4466, allocations: 0 / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.4472, allocations: 92 kB / 0.5516 GB, free: 10.86 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.0007858/0.448, allocations: 0.8046 MB / 0.5524 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.4483, allocations: 170.4 kB / 0.5526 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4484, allocations: 3.938 kB / 0.5526 GB, free: 9.852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.4484, allocations: 24.05 kB / 0.5526 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.4488, allocations: 44.59 kB / 0.5527 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.4523, allocations: 2.792 MB / 0.5554 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.4526, allocations: 0.7285 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.4528, allocations: 46.84 kB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.4529, allocations: 67.41 kB / 0.5562 GB, free: 5.738 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4529, allocations: 0 / 0.5562 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.4793, allocations: 5.264 MB / 0.5613 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/8.109, allocations: 0.8906 kB / 0.5613 GB, free: 0.5859 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches