Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, 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.2185/0.2185, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 72.16 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4308, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006152/0.437, allocations: 5.021 MB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.4417, allocations: 4.576 MB / 0.5399 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.4419, allocations: 1.969 kB / 0.5399 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.4422, allocations: 47.17 kB / 0.54 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.4439, allocations: 0.6688 MB / 0.5406 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.4442, allocations: 160.5 kB / 0.5408 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.4448, allocations: 366 kB / 0.5411 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.4448, allocations: 14.78 kB / 0.5411 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.4451, allocations: 149.5 kB / 0.5413 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.4453, allocations: 128.6 kB / 0.5414 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.4453, allocations: 8.531 kB / 0.5414 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.4462, allocations: 350.5 kB / 0.5417 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.4463, allocations: 43.92 kB / 0.5418 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.4464, allocations: 110.1 kB / 0.5419 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007184/0.4471, allocations: 421.3 kB / 0.5423 GB, free: 4.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4471, allocations: 4 kB / 0.5423 GB, free: 4.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4471, allocations: 0 / 0.5423 GB, free: 4.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.4472, allocations: 1.438 kB / 0.5423 GB, free: 4.18 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.0009892/0.4481, allocations: 0.589 MB / 0.5429 GB, free: 3.652 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4482, allocations: 10.22 kB / 0.5429 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.4483, allocations: 59.12 kB / 0.5429 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.4484, allocations: 36.88 kB / 0.543 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.4488, allocations: 232.8 kB / 0.5432 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.4489, allocations: 120.1 kB / 0.5433 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.4489, allocations: 25.72 kB / 0.5433 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.4494, allocations: 328.5 kB / 0.5436 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.4494, allocations: 0 / 0.5436 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.4495, allocations: 11.66 kB / 0.5437 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.4495, allocations: 6.781 kB / 0.5437 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/0.4504, allocations: 0.7367 MB / 0.5444 GB, free: 2.609 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.001367/0.4518, allocations: 1.254 MB / 0.5456 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4521, allocations: 148.5 kB / 0.5457 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4522, allocations: 75.61 kB / 0.5458 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002355/0.4546, allocations: 2.666 MB / 0.5484 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4546, allocations: 32.28 kB / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.4546, allocations: 0 / 0.5485 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006788/0.4553, allocations: 224.4 kB / 0.5487 GB, free: 14.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4554, allocations: 57.52 kB / 0.5487 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.4556, allocations: 209.9 kB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.4556, allocations: 26.7 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4558, allocations: 217.2 kB / 0.5492 GB, free: 13.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4558, allocations: 54.95 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.4559, allocations: 78.56 kB / 0.5493 GB, free: 13.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.456, allocations: 331.2 kB / 0.5496 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.4561, allocations: 50.66 kB / 0.5496 GB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.4564, allocations: 313.9 kB / 0.5499 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.4569, allocations: 420 kB / 0.5503 GB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4569, allocations: 2.562 kB / 0.5503 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005587/0.4575, allocations: 366.8 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4575, allocations: 12 kB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.4575, allocations: 8.844 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4575, allocations: 15.94 kB / 0.5507 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.4579, allocations: 111.8 kB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.4579, allocations: 19.92 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.4582, allocations: 19.94 kB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.4582, allocations: 24 kB / 0.5509 GB, free: 11.8 MB / 414.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: 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.0001205/0.4583, allocations: 149.7 kB / 0.551 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.4584, allocations: 19.72 kB / 0.5511 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.4587, allocations: 147 kB / 0.5512 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.4587, allocations: 7.938 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4587, allocations: 0 / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4587, allocations: 3.984 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.4593, allocations: 435.2 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4593, allocations: 15.81 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.4594, allocations: 35.91 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4594, allocations: 0 / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4595, allocations: 4 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4595, allocations: 4 kB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4595, allocations: 128 / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4597, allocations: 219.7 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.4599, allocations: 112.7 kB / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.4599, allocations: 0 / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.4601, allocations: 8 kB / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.4601, allocations: 11.98 kB / 0.552 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.4601, allocations: 11.98 kB / 0.552 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.4603, allocations: 144.5 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4603, allocations: 3.938 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.4608, allocations: 111.9 kB / 0.5523 GB, free: 10.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0006353/0.4614, allocations: 0.8068 MB / 0.5531 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.4618, allocations: 184 kB / 0.5532 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4618, allocations: 2 kB / 0.5532 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.4619, allocations: 35.92 kB / 0.5533 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4624, allocations: 54.92 kB / 0.5533 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.4657, allocations: 2.7 MB / 0.556 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.4661, allocations: 0.7285 MB / 0.5567 GB, free: 5.371 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002074/0.4663, allocations: 62.81 kB / 0.5567 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/0.4664, allocations: 63.42 kB / 0.5568 GB, free: 5.246 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4664, allocations: 3.938 kB / 0.5568 GB, free: 5.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.4924, allocations: 5.698 MB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.17, allocations: 13.02 kB / 0.5624 GB, free: 15.68 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches