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.001266/0.001266, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 75.86 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3379, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008271/0.3462, allocations: 5.316 MB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.3499, allocations: 2.641 MB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.3501, allocations: 1.094 kB / 0.5383 GB, free: 7.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3505, allocations: 38.36 kB / 0.5383 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.3538, allocations: 1.099 MB / 0.5394 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.3542, allocations: 155.6 kB / 0.5396 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.3548, allocations: 301.9 kB / 0.5399 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.3549, allocations: 17.28 kB / 0.5399 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.3562, allocations: 0.7415 MB / 0.5406 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.3565, allocations: 148.7 kB / 0.5407 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.3566, allocations: 7.125 kB / 0.5407 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.359, allocations: 1.338 MB / 0.5421 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.3591, allocations: 32.25 kB / 0.5421 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3592, allocations: 81.41 kB / 0.5422 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.3605, allocations: 0.534 MB / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3605, allocations: 0 / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3605, allocations: 0 / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.3605, allocations: 0 / 0.5427 GB, free: 4.578 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.001231/0.3618, allocations: 0.5681 MB / 0.5432 GB, free: 4.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3618, allocations: 13.44 kB / 0.5433 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.3619, allocations: 53.11 kB / 0.5433 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000513/0.3624, allocations: 46.25 kB / 0.5433 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.3628, allocations: 210.4 kB / 0.5435 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3628, allocations: 14.25 kB / 0.5436 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.3629, allocations: 18.62 kB / 0.5436 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.3633, allocations: 239.9 kB / 0.5438 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3633, allocations: 0 / 0.5438 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3634, allocations: 11.28 kB / 0.5438 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3634, allocations: 4.75 kB / 0.5438 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.3638, allocations: 235.5 kB / 0.544 GB, free: 3.434 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.001556/0.3654, allocations: 1.363 MB / 0.5454 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.3656, allocations: 98.12 kB / 0.5455 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.3657, allocations: 41.5 kB / 0.5455 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.3673, allocations: 2.047 MB / 0.5475 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.3675, allocations: 171.1 kB / 0.5477 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.3675, allocations: 0 / 0.5477 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009561/0.3685, allocations: 355.7 kB / 0.548 GB, free: 15.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.3686, allocations: 269 kB / 0.5483 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3688, allocations: 153.7 kB / 0.5484 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3688, allocations: 30.52 kB / 0.5484 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.532e-05/0.3689, allocations: 143.8 kB / 0.5486 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.369, allocations: 71.67 kB / 0.5486 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-05/0.3691, allocations: 65.59 kB / 0.5487 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3692, allocations: 326.8 kB / 0.549 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3693, allocations: 35.98 kB / 0.5491 GB, free: 13.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.3695, allocations: 195.3 kB / 0.5492 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.3698, allocations: 258.6 kB / 0.5495 GB, free: 13.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3698, allocations: 0 / 0.5495 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004176/0.3702, allocations: 269 kB / 0.5497 GB, free: 13.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3702, allocations: 10.19 kB / 0.5498 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3702, allocations: 4 kB / 0.5498 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3703, allocations: 8 kB / 0.5498 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.3707, allocations: 99.86 kB / 0.5499 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003759/0.3711, allocations: 0.5982 MB / 0.5504 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3713, allocations: 12 kB / 0.5505 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.3713, allocations: 20 kB / 0.5505 GB, free: 12.36 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.0001291/0.3715, allocations: 141.6 kB / 0.5506 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.3715, allocations: 19.81 kB / 0.5506 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004145/0.372, allocations: 220 kB / 0.5508 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.372, allocations: 4 kB / 0.5508 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.372, allocations: 3.938 kB / 0.5508 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.372, allocations: 3.984 kB / 0.5509 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3724, allocations: 444.7 kB / 0.5513 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3724, allocations: 4.031 kB / 0.5513 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.3727, allocations: 63.95 kB / 0.5513 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3728, allocations: 3.938 kB / 0.5513 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3728, allocations: 4 kB / 0.5513 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002649/0.3731, allocations: 0.586 MB / 0.5519 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3731, allocations: 0 / 0.5519 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.3733, allocations: 150.6 kB / 0.5521 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.3734, allocations: 93 kB / 0.5522 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.3734, allocations: 7.984 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3736, allocations: 8 kB / 0.5522 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.3736, allocations: 7.984 kB / 0.5522 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3736, allocations: 4 kB / 0.5522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.3737, allocations: 131.2 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3737, allocations: 0 / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005173/0.3742, allocations: 148 kB / 0.5524 GB, free: 10.16 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.0009078/0.3752, allocations: 0.8372 MB / 0.5533 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.3756, allocations: 156.9 kB / 0.5534 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3756, allocations: 0 / 0.5534 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3758, allocations: 52.09 kB / 0.5535 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3762, allocations: 59.03 kB / 0.5535 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.379, allocations: 2.535 MB / 0.556 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.3793, allocations: 0.7128 MB / 0.5567 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.3795, allocations: 69.72 kB / 0.5568 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.3796, allocations: 59.39 kB / 0.5568 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3796, allocations: 4 kB / 0.5568 GB, free: 5.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.4058, allocations: 6.634 MB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.46, allocations: 8.734 kB / 0.5633 GB, free: 14.96 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