Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 117.2 kB / 17.78 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.001682/0.001682, allocations: 203.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 76.09 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3622, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007701/0.3699, allocations: 5.301 MB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.3733, allocations: 2.645 MB / 0.5384 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3735, allocations: 5.094 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.3738, allocations: 38.69 kB / 0.5385 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003224/0.377, allocations: 1.099 MB / 0.5395 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3774, allocations: 155.8 kB / 0.5397 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.3779, allocations: 306.9 kB / 0.54 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.378, allocations: 17.48 kB / 0.54 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.3793, allocations: 0.7353 MB / 0.5407 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.3797, allocations: 147.9 kB / 0.5408 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.177e-05/0.3797, allocations: 6.844 kB / 0.5408 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.3822, allocations: 1.337 MB / 0.5422 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.3823, allocations: 36.91 kB / 0.5422 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3825, allocations: 81.06 kB / 0.5423 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.3838, allocations: 0.5334 MB / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3838, allocations: 0 / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3838, allocations: 1 kB / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.3838, allocations: 0 / 0.5428 GB, free: 4.52 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001125/0.3849, allocations: 0.5752 MB / 0.5433 GB, free: 3.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.385, allocations: 9.594 kB / 0.5434 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.3851, allocations: 52.11 kB / 0.5434 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004564/0.3855, allocations: 46.69 kB / 0.5435 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.3859, allocations: 214.7 kB / 0.5437 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.3859, allocations: 14.5 kB / 0.5437 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3859, allocations: 14.19 kB / 0.5437 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.3864, allocations: 247.4 kB / 0.5439 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.3865, allocations: 5.25 kB / 0.5439 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3865, allocations: 6.438 kB / 0.5439 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.3865, allocations: 8.375 kB / 0.5439 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.3869, allocations: 237 kB / 0.5442 GB, free: 3.359 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.001507/0.3884, allocations: 1.37 MB / 0.5455 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.3887, allocations: 89.45 kB / 0.5456 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.3888, allocations: 43.98 kB / 0.5456 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.3907, allocations: 2.054 MB / 0.5476 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.391, allocations: 162.8 kB / 0.5478 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.391, allocations: 0 / 0.5478 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001017/0.392, allocations: 368.9 kB / 0.5481 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.3922, allocations: 261 kB / 0.5484 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3924, allocations: 153.8 kB / 0.5485 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3924, allocations: 29.7 kB / 0.5486 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3926, allocations: 152.1 kB / 0.5487 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.3926, allocations: 67.67 kB / 0.5488 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.3927, allocations: 69.64 kB / 0.5488 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3929, allocations: 322.8 kB / 0.5492 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.393, allocations: 43.97 kB / 0.5492 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.3932, allocations: 191.4 kB / 0.5494 GB, free: 13.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.3935, allocations: 262.6 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3935, allocations: 0 / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004565/0.394, allocations: 253.4 kB / 0.5499 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.394, allocations: 8 kB / 0.5499 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3941, allocations: 4 kB / 0.5499 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3941, allocations: 8.656 kB / 0.5499 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.3946, allocations: 103.8 kB / 0.55 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004614/0.3951, allocations: 0.6058 MB / 0.5506 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3953, allocations: 8 kB / 0.5506 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3953, allocations: 20 kB / 0.5506 GB, free: 12.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.3955, allocations: 141.7 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.3955, allocations: 15.91 kB / 0.5508 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.3961, allocations: 235.9 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3961, allocations: 0 / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3961, allocations: 3.938 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.3961, allocations: 7.938 kB / 0.551 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005284/0.3966, allocations: 440.8 kB / 0.5514 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3966, allocations: 4 kB / 0.5514 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.397, allocations: 51.98 kB / 0.5515 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.397, allocations: 7.938 kB / 0.5515 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.397, allocations: 4 kB / 0.5515 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000359/0.3974, allocations: 0.5821 MB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3974, allocations: 0 / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3976, allocations: 154.7 kB / 0.5522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/0.3977, allocations: 97.05 kB / 0.5523 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.3978, allocations: 15.94 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3979, allocations: 4 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.398, allocations: 7.984 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.398, allocations: 12 kB / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.3981, allocations: 123.2 kB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.3981, allocations: 4 kB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000569/0.3987, allocations: 147.5 kB / 0.5526 GB, free: 10.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/0.3998, allocations: 0.8415 MB / 0.5534 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.4003, allocations: 155.7 kB / 0.5536 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.4003, allocations: 1.312 kB / 0.5536 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.4005, allocations: 47.91 kB / 0.5536 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.4009, allocations: 58.72 kB / 0.5537 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.4042, allocations: 2.542 MB / 0.5561 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.4046, allocations: 0.7169 MB / 0.5568 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.4049, allocations: 81.62 kB / 0.5569 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.405, allocations: 55.41 kB / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.405, allocations: 0 / 0.557 GB, free: 5.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.4376, allocations: 6.587 MB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.41, allocations: 5.734 kB / 0.5634 GB, free: 14.86 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches