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.001795/0.001795, allocations: 122.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.002318/0.002318, 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.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.11 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 83.86 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3571, allocations: 62.44 MB / 0.5307 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008411/0.3655, allocations: 5.026 MB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.372, allocations: 4.568 MB / 0.54 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.3723, allocations: 6.469 kB / 0.54 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.3727, allocations: 55.33 kB / 0.5401 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.3749, allocations: 0.6649 MB / 0.5407 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.3754, allocations: 156.7 kB / 0.5409 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.3761, allocations: 370.1 kB / 0.5412 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.3762, allocations: 10.47 kB / 0.5412 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.3765, allocations: 149.8 kB / 0.5414 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3768, allocations: 133.5 kB / 0.5415 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.3768, allocations: 11.66 kB / 0.5415 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.3779, allocations: 355.6 kB / 0.5419 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.378, allocations: 39.64 kB / 0.5419 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3782, allocations: 106.8 kB / 0.542 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.3791, allocations: 438.8 kB / 0.5424 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3791, allocations: 0 / 0.5424 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3791, allocations: 0 / 0.5424 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3791, allocations: 0 / 0.5424 GB, free: 4.059 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.001108/0.3802, allocations: 0.6058 MB / 0.543 GB, free: 3.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3803, allocations: 8.844 kB / 0.543 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.3804, allocations: 60.09 kB / 0.5431 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3805, allocations: 24.41 kB / 0.5431 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.3809, allocations: 237.2 kB / 0.5433 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.381, allocations: 118.8 kB / 0.5434 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.3811, allocations: 31.25 kB / 0.5435 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.3817, allocations: 323.9 kB / 0.5438 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3817, allocations: 0 / 0.5438 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.3817, allocations: 15.36 kB / 0.5438 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.3818, allocations: 11.38 kB / 0.5438 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3829, allocations: 0.7402 MB / 0.5445 GB, free: 2.469 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.001713/0.3846, allocations: 1.254 MB / 0.5458 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.385, allocations: 140.7 kB / 0.5459 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3852, allocations: 76.17 kB / 0.546 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/0.3881, allocations: 2.661 MB / 0.5486 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3882, allocations: 35.94 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.3882, allocations: 4 kB / 0.5486 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007355/0.3889, allocations: 226 kB / 0.5488 GB, free: 13.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.389, allocations: 53.62 kB / 0.5489 GB, free: 13.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.3892, allocations: 217.5 kB / 0.5491 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3892, allocations: 26.67 kB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3894, allocations: 221.2 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.3895, allocations: 52.34 kB / 0.5494 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3896, allocations: 82 kB / 0.5494 GB, free: 13.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3897, allocations: 334.7 kB / 0.5498 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.3898, allocations: 50.69 kB / 0.5498 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.3901, allocations: 315 kB / 0.5501 GB, free: 12.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.3906, allocations: 417.4 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3907, allocations: 4 kB / 0.5505 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005836/0.3913, allocations: 369.5 kB / 0.5509 GB, free: 11.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3913, allocations: 8 kB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.3913, allocations: 12 kB / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.3913, allocations: 15.94 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.3917, allocations: 107.8 kB / 0.551 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.3917, allocations: 15.94 kB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3919, allocations: 15.98 kB / 0.551 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.392, allocations: 36.28 kB / 0.5511 GB, free: 11.62 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.0001486/0.3921, allocations: 149.6 kB / 0.5512 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.3922, allocations: 19.91 kB / 0.5512 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.3925, allocations: 147 kB / 0.5514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3926, allocations: 7.938 kB / 0.5514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3926, allocations: 0 / 0.5514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3926, allocations: 7.922 kB / 0.5514 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.3932, allocations: 435.2 kB / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3932, allocations: 3.938 kB / 0.5518 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.3934, allocations: 39.84 kB / 0.5518 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3934, allocations: 8.031 kB / 0.5518 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3934, allocations: 4 kB / 0.5518 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3934, allocations: 0 / 0.5518 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3934, allocations: 0 / 0.5518 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.3937, allocations: 219.7 kB / 0.5521 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.082e-05/0.3938, allocations: 108.9 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.3938, allocations: 4 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.394, allocations: 12 kB / 0.5522 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.394, allocations: 7.984 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.394, allocations: 12.11 kB / 0.5522 GB, free: 10.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3942, allocations: 148.5 kB / 0.5523 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.074e-06/0.3942, allocations: 0 / 0.5523 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.3947, allocations: 107.8 kB / 0.5524 GB, free: 10.1 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.0007541/0.3955, allocations: 0.8106 MB / 0.5532 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.3958, allocations: 185.8 kB / 0.5534 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3958, allocations: 0 / 0.5534 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.3959, allocations: 35.92 kB / 0.5534 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.3963, allocations: 58.12 kB / 0.5535 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.3998, allocations: 2.712 MB / 0.5561 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4002, allocations: 0.7285 MB / 0.5569 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.4005, allocations: 58.83 kB / 0.5569 GB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4006, allocations: 67.41 kB / 0.557 GB, free: 5.059 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4006, allocations: 4 kB / 0.557 GB, free: 5.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.4286, allocations: 5.621 MB / 0.5625 GB, free: 15.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.737, allocations: 13.84 kB / 0.5625 GB, free: 15.57 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