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.001115/0.001115, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 198 kB / 18.73 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.343/1.343, 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.2087/0.2087, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.88 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.309, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.007555/0.3166, allocations: 5.301 MB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.3198, allocations: 2.641 MB / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.32, allocations: 2.125 kB / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.3203, allocations: 46 kB / 0.5383 GB, free: 6.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.3233, allocations: 1.109 MB / 0.5394 GB, free: 6.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.3237, allocations: 151.5 kB / 0.5396 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.3242, allocations: 306.3 kB / 0.5399 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.688e-05/0.3243, allocations: 17.5 kB / 0.5399 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00136/0.3256, allocations: 0.7357 MB / 0.5406 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.326, allocations: 152.5 kB / 0.5407 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.3261, allocations: 7.094 kB / 0.5408 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.3288, allocations: 1.34 MB / 0.5421 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.3289, allocations: 37.36 kB / 0.5421 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.329, allocations: 80.34 kB / 0.5422 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3303, allocations: 0.5283 MB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3303, allocations: 0 / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3303, allocations: 1.062 kB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3303, allocations: 0 / 0.5427 GB, free: 4.551 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.0012/0.3315, allocations: 0.5783 MB / 0.5433 GB, free: 4.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3316, allocations: 9.375 kB / 0.5433 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.979e-05/0.3316, allocations: 53.73 kB / 0.5433 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004803/0.3321, allocations: 42.09 kB / 0.5434 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.3325, allocations: 214.3 kB / 0.5436 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.3325, allocations: 14.91 kB / 0.5436 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.3325, allocations: 15.06 kB / 0.5436 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.333, allocations: 246.3 kB / 0.5438 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.333, allocations: 1.125 kB / 0.5438 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.333, allocations: 7.188 kB / 0.5438 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.333, allocations: 4.312 kB / 0.5438 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/0.3334, allocations: 239.9 kB / 0.5441 GB, free: 3.395 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.001282/0.3347, allocations: 1.371 MB / 0.5454 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3349, allocations: 89.7 kB / 0.5455 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.522e-05/0.335, allocations: 43.7 kB / 0.5455 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/0.3365, allocations: 2.055 MB / 0.5475 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.3368, allocations: 163 kB / 0.5477 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.843e-06/0.3368, allocations: 0 / 0.5477 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009237/0.3377, allocations: 365.7 kB / 0.548 GB, free: 15.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.3378, allocations: 265 kB / 0.5483 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.338, allocations: 154.1 kB / 0.5484 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.338, allocations: 33.7 kB / 0.5485 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.3381, allocations: 156.1 kB / 0.5486 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.3381, allocations: 67.42 kB / 0.5487 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.3382, allocations: 65.64 kB / 0.5488 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.3383, allocations: 322.8 kB / 0.5491 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.3384, allocations: 39.98 kB / 0.5491 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.3386, allocations: 195.3 kB / 0.5493 GB, free: 13.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.3389, allocations: 258.6 kB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.3389, allocations: 4 kB / 0.5495 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004333/0.3393, allocations: 257.1 kB / 0.5498 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3393, allocations: 8 kB / 0.5498 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3394, allocations: 4 kB / 0.5498 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3394, allocations: 8 kB / 0.5498 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.3399, allocations: 96.53 kB / 0.5499 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003168/0.3402, allocations: 0.6021 MB / 0.5505 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.3404, allocations: 12 kB / 0.5505 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/0.3404, allocations: 20 kB / 0.5505 GB, free: 12.29 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.0001232/0.3405, allocations: 141.6 kB / 0.5506 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.3406, allocations: 19.91 kB / 0.5507 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.341, allocations: 224 kB / 0.5509 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3411, allocations: 4 kB / 0.5509 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3411, allocations: 7.922 kB / 0.5509 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3411, allocations: 0 / 0.5509 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.3415, allocations: 452.8 kB / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3415, allocations: 0 / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.3419, allocations: 55.89 kB / 0.5514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3419, allocations: 3.938 kB / 0.5514 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3419, allocations: 4 kB / 0.5514 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002829/0.3422, allocations: 0.5938 MB / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3422, allocations: 0 / 0.552 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.3424, allocations: 154.7 kB / 0.5521 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.3425, allocations: 89.05 kB / 0.5522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.3426, allocations: 15.94 kB / 0.5522 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3427, allocations: 4 kB / 0.5522 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.3427, allocations: 11.98 kB / 0.5522 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3428, allocations: 8 kB / 0.5522 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.3429, allocations: 127.2 kB / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3429, allocations: 0 / 0.5524 GB, free: 10.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005427/0.3434, allocations: 143.6 kB / 0.5525 GB, free: 10.08 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.0009384/0.3444, allocations: 0.8446 MB / 0.5533 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.3449, allocations: 156.7 kB / 0.5535 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3449, allocations: 0 / 0.5535 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.3451, allocations: 56.22 kB / 0.5535 GB, free: 9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3455, allocations: 47.94 kB / 0.5536 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.3485, allocations: 2.543 MB / 0.556 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.3487, allocations: 0.7128 MB / 0.5567 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.349, allocations: 69.84 kB / 0.5568 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3491, allocations: 66.91 kB / 0.5569 GB, free: 5.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3491, allocations: 3.938 kB / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3752, allocations: 6.585 MB / 0.5633 GB, free: 14.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 4.422 kB / 0.5633 GB, free: 14.92 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_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_IncompleteMedia_Essotherm650.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.csv","/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