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.001096/0.001096, allocations: 122.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.001176/0.001176, allocations: 202 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.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 79.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3345, allocations: 62.42 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00655/0.3411, allocations: 5.025 MB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.3461, allocations: 4.576 MB / 0.5399 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.3463, allocations: 2.438 kB / 0.5399 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.3467, allocations: 54.97 kB / 0.54 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.3486, allocations: 0.6646 MB / 0.5406 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.349, allocations: 156.7 kB / 0.5408 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.3496, allocations: 370.8 kB / 0.5411 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.3496, allocations: 14.45 kB / 0.5411 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.3499, allocations: 145.6 kB / 0.5413 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.3501, allocations: 137.7 kB / 0.5414 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3501, allocations: 7.312 kB / 0.5414 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/0.351, allocations: 346.8 kB / 0.5417 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.735e-05/0.351, allocations: 42.81 kB / 0.5418 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3512, allocations: 110.1 kB / 0.5419 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.3519, allocations: 421.9 kB / 0.5423 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3519, allocations: 0 / 0.5423 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3519, allocations: 1.219 kB / 0.5423 GB, free: 4.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.352, allocations: 0 / 0.5423 GB, free: 4.16 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.001163/0.3531, allocations: 0.5936 MB / 0.5429 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3532, allocations: 9.75 kB / 0.5429 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.3533, allocations: 63.45 kB / 0.5429 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.3535, allocations: 32.73 kB / 0.543 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.3539, allocations: 225 kB / 0.5432 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.354, allocations: 123 kB / 0.5433 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.3541, allocations: 31.88 kB / 0.5433 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.3547, allocations: 322.4 kB / 0.5436 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3547, allocations: 1.125 kB / 0.5436 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.3547, allocations: 11.41 kB / 0.5437 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.3548, allocations: 6.344 kB / 0.5437 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3558, allocations: 0.7489 MB / 0.5444 GB, free: 2.578 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.001348/0.3571, allocations: 1.25 MB / 0.5456 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.3575, allocations: 140.6 kB / 0.5457 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3576, allocations: 72.05 kB / 0.5458 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/0.36, allocations: 2.665 MB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.36, allocations: 36.88 kB / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.36, allocations: 0 / 0.5485 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008451/0.3609, allocations: 229 kB / 0.5487 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.361, allocations: 53.91 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.3612, allocations: 213.1 kB / 0.5489 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3613, allocations: 30.83 kB / 0.549 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3615, allocations: 208.9 kB / 0.5492 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.3615, allocations: 54.92 kB / 0.5492 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3617, allocations: 86.92 kB / 0.5493 GB, free: 13.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3618, allocations: 334.8 kB / 0.5496 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.362, allocations: 50.41 kB / 0.5497 GB, free: 13.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.3623, allocations: 314.8 kB / 0.55 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.3628, allocations: 410.8 kB / 0.5503 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.3628, allocations: 4.031 kB / 0.5504 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006592/0.3635, allocations: 376.8 kB / 0.5507 GB, free: 11.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3635, allocations: 8 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.3636, allocations: 8 kB / 0.5507 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.3636, allocations: 15.94 kB / 0.5507 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.364, allocations: 111.8 kB / 0.5508 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.364, allocations: 15.94 kB / 0.5509 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.3643, allocations: 16 kB / 0.5509 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/0.3643, allocations: 36.23 kB / 0.5509 GB, free: 11.79 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.0001568/0.3645, allocations: 145.7 kB / 0.5511 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.3646, allocations: 23.72 kB / 0.5511 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003249/0.3649, allocations: 155 kB / 0.5512 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3649, allocations: 3.938 kB / 0.5512 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3649, allocations: 0 / 0.5512 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3649, allocations: 4 kB / 0.5512 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.3656, allocations: 431.2 kB / 0.5516 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3656, allocations: 7.875 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3657, allocations: 35.91 kB / 0.5517 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3658, allocations: 4.031 kB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3658, allocations: 4 kB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3658, allocations: 0 / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3658, allocations: 0 / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.366, allocations: 215.6 kB / 0.5519 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.3661, allocations: 108.8 kB / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3662, allocations: 7.984 kB / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3664, allocations: 12 kB / 0.552 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.3664, allocations: 7.984 kB / 0.552 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3664, allocations: 4 kB / 0.552 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.3666, allocations: 156.5 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.3666, allocations: 0 / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005101/0.3671, allocations: 103.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.0007073/0.3678, allocations: 0.8145 MB / 0.5531 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.3681, allocations: 189.6 kB / 0.5533 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3682, allocations: 0 / 0.5533 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.124e-05/0.3682, allocations: 39.91 kB / 0.5533 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.3687, allocations: 51.91 kB / 0.5533 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3718, allocations: 2.697 MB / 0.556 GB, free: 6.125 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3721, allocations: 0.7285 MB / 0.5567 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.3723, allocations: 54.78 kB / 0.5567 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.866e-05/0.3724, allocations: 71.41 kB / 0.5568 GB, free: 5.242 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3724, allocations: 0 / 0.5568 GB, free: 5.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.415, allocations: 5.705 MB / 0.5624 GB, free: 15.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.104, allocations: 1.594 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