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.001567/0.001567, allocations: 118.2 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.002019/0.002019, allocations: 202 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.372/1.372, 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.2041/0.2041, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 79.86 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3424, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.009419/0.3519, allocations: 5.022 MB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007662/0.3596, allocations: 4.578 MB / 0.5399 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.3599, allocations: 1.5 kB / 0.5399 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.3604, allocations: 59.28 kB / 0.54 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002586/0.363, allocations: 0.6681 MB / 0.5406 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006501/0.3637, allocations: 154 kB / 0.5408 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009401/0.3646, allocations: 371 kB / 0.5411 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.3647, allocations: 9.844 kB / 0.5411 GB, free: 4.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005002/0.3652, allocations: 153.8 kB / 0.5413 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.3656, allocations: 125.4 kB / 0.5414 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.3657, allocations: 7.344 kB / 0.5414 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.367, allocations: 364.4 kB / 0.5418 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3672, allocations: 42.94 kB / 0.5418 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.3674, allocations: 102.9 kB / 0.5419 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.3688, allocations: 446.9 kB / 0.5423 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3688, allocations: 0 / 0.5423 GB, free: 4.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3689, allocations: 1.156 kB / 0.5423 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3689, allocations: 0 / 0.5423 GB, free: 4.156 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.001402/0.3703, allocations: 0.6008 MB / 0.5429 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3703, allocations: 9.094 kB / 0.5429 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.299e-05/0.3704, allocations: 59.61 kB / 0.543 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.3707, allocations: 24.62 kB / 0.543 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.3711, allocations: 225.6 kB / 0.5432 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3713, allocations: 131 kB / 0.5433 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.3714, allocations: 26.75 kB / 0.5434 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.3721, allocations: 320.1 kB / 0.5437 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.3721, allocations: 7.922 kB / 0.5437 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.3721, allocations: 12.31 kB / 0.5437 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.3722, allocations: 6.5 kB / 0.5437 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.3734, allocations: 0.7368 MB / 0.5444 GB, free: 2.582 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.001847/0.3753, allocations: 1.258 MB / 0.5456 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3757, allocations: 144.5 kB / 0.5458 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3759, allocations: 76.06 kB / 0.5459 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.3789, allocations: 2.664 MB / 0.5485 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.379, allocations: 36.84 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.195e-06/0.379, allocations: 0 / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009307/0.3799, allocations: 225.5 kB / 0.5487 GB, free: 14.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.38, allocations: 57.75 kB / 0.5488 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.3802, allocations: 209.1 kB / 0.549 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3803, allocations: 35.2 kB / 0.549 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.3804, allocations: 218.1 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.3805, allocations: 55.17 kB / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.3807, allocations: 86.78 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3808, allocations: 327.1 kB / 0.5497 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.381, allocations: 46.16 kB / 0.5497 GB, free: 13.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.3813, allocations: 322.6 kB / 0.55 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.3819, allocations: 411.6 kB / 0.5504 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.3819, allocations: 2.781 kB / 0.5504 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008219/0.3828, allocations: 373.6 kB / 0.5508 GB, free: 11.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3828, allocations: 12.03 kB / 0.5508 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3828, allocations: 8 kB / 0.5508 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.077e-05/0.3829, allocations: 15.94 kB / 0.5508 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.3834, allocations: 107.8 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.3834, allocations: 19.92 kB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.3838, allocations: 16 kB / 0.5509 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.3839, allocations: 28 kB / 0.551 GB, free: 11.78 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.0001672/0.3841, allocations: 153.5 kB / 0.5511 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.3842, allocations: 23.91 kB / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.3846, allocations: 150.9 kB / 0.5513 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.3846, allocations: 3.938 kB / 0.5513 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3846, allocations: 4 kB / 0.5513 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3846, allocations: 4 kB / 0.5513 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.3854, allocations: 435.2 kB / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3854, allocations: 7.875 kB / 0.5517 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.3857, allocations: 27.98 kB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3857, allocations: 0 / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.3857, allocations: 4 kB / 0.5517 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3857, allocations: 0 / 0.5517 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3857, allocations: 4.031 kB / 0.5517 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.3861, allocations: 227.5 kB / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3862, allocations: 104.9 kB / 0.5521 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.3862, allocations: 4 kB / 0.5521 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.3865, allocations: 7.984 kB / 0.5521 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.3866, allocations: 11.98 kB / 0.5521 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.3866, allocations: 8 kB / 0.5521 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001696/0.3868, allocations: 152.5 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3868, allocations: 0 / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000871/0.3877, allocations: 99.86 kB / 0.5523 GB, free: 10.26 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.0008627/0.3886, allocations: 0.8183 MB / 0.5531 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004146/0.389, allocations: 185.5 kB / 0.5533 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.389, allocations: 0.75 kB / 0.5533 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.3891, allocations: 39.92 kB / 0.5533 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006727/0.3898, allocations: 58.14 kB / 0.5534 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.3937, allocations: 2.72 MB / 0.556 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3941, allocations: 0.7285 MB / 0.5568 GB, free: 5.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.3944, allocations: 58.83 kB / 0.5568 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3945, allocations: 59.42 kB / 0.5569 GB, free: 5.211 MB / 414.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3946, allocations: 0 / 0.5569 GB, free: 5.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4194, allocations: 5.629 MB / 0.5624 GB, free: 15.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.893, allocations: 9.844 kB / 0.5624 GB, free: 15.72 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_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_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.csv","/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