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.001667/0.001667, allocations: 121.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.001862/0.001862, allocations: 200.6 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.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3341, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008212/0.3424, allocations: 5.307 MB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.3458, allocations: 2.648 MB / 0.5384 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3459, allocations: 1.312 kB / 0.5384 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.3462, allocations: 42.91 kB / 0.5384 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003592/0.3498, allocations: 1.095 MB / 0.5395 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.3503, allocations: 148.7 kB / 0.5396 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.3509, allocations: 311 kB / 0.5399 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.192e-05/0.3509, allocations: 11.89 kB / 0.5399 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.3524, allocations: 0.7394 MB / 0.5407 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.3527, allocations: 153.6 kB / 0.5408 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.3528, allocations: 5.562 kB / 0.5408 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.3553, allocations: 1.333 MB / 0.5421 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.3555, allocations: 39.73 kB / 0.5422 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.3556, allocations: 85.7 kB / 0.5422 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.357, allocations: 0.5255 MB / 0.5428 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.357, allocations: 1.062 kB / 0.5428 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.357, allocations: 0 / 0.5428 GB, free: 4.504 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.357, allocations: 0 / 0.5428 GB, free: 4.504 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.001124/0.3581, allocations: 0.5747 MB / 0.5433 GB, free: 3.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.3582, allocations: 10.09 kB / 0.5433 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.885e-05/0.3583, allocations: 53.23 kB / 0.5434 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.3588, allocations: 45.91 kB / 0.5434 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.3591, allocations: 214.1 kB / 0.5436 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3592, allocations: 15.47 kB / 0.5436 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3592, allocations: 14.09 kB / 0.5437 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.3596, allocations: 242.9 kB / 0.5439 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3597, allocations: 1 kB / 0.5439 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3597, allocations: 7.219 kB / 0.5439 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3597, allocations: 4.562 kB / 0.5439 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.3601, allocations: 235.5 kB / 0.5441 GB, free: 3.355 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.001456/0.3616, allocations: 1.379 MB / 0.5455 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3618, allocations: 89.7 kB / 0.5456 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.845e-05/0.3619, allocations: 47.78 kB / 0.5456 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001743/0.3636, allocations: 2.047 MB / 0.5476 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.3639, allocations: 172 kB / 0.5478 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.3639, allocations: 0 / 0.5478 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009546/0.3649, allocations: 362.9 kB / 0.5481 GB, free: 15.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.365, allocations: 269 kB / 0.5484 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3652, allocations: 148.8 kB / 0.5485 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3652, allocations: 33.7 kB / 0.5485 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3653, allocations: 156 kB / 0.5487 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.3654, allocations: 67.42 kB / 0.5488 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.3655, allocations: 65.84 kB / 0.5488 GB, free: 14.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3657, allocations: 326.8 kB / 0.5491 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.3657, allocations: 39.97 kB / 0.5492 GB, free: 13.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.366, allocations: 195.3 kB / 0.5493 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3663, allocations: 258.6 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3663, allocations: 4 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004291/0.3667, allocations: 257 kB / 0.5498 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3668, allocations: 8 kB / 0.5499 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3668, allocations: 4 kB / 0.5499 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3668, allocations: 8 kB / 0.5499 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.3673, allocations: 103.8 kB / 0.55 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003809/0.3677, allocations: 0.5986 MB / 0.5505 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3678, allocations: 16 kB / 0.5506 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.3679, allocations: 19.98 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.0001256/0.368, allocations: 133.7 kB / 0.5507 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.3681, allocations: 19.91 kB / 0.5507 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.3685, allocations: 231.9 kB / 0.5509 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3685, allocations: 4 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3686, allocations: 3.938 kB / 0.551 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3686, allocations: 3.984 kB / 0.551 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.3691, allocations: 452.8 kB / 0.5514 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3691, allocations: 0 / 0.5514 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.3694, allocations: 51.89 kB / 0.5514 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3694, allocations: 12.03 kB / 0.5515 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3694, allocations: 4 kB / 0.5515 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003341/0.3698, allocations: 0.5782 MB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3698, allocations: 8.016 kB / 0.552 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.37, allocations: 150.7 kB / 0.5522 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.3701, allocations: 97.05 kB / 0.5523 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.3702, allocations: 11.95 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3703, allocations: 3.984 kB / 0.5523 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.3703, allocations: 12 kB / 0.5523 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3704, allocations: 7.984 kB / 0.5523 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.3705, allocations: 123.2 kB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3705, allocations: 0 / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005447/0.371, allocations: 147.6 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.001018/0.3721, allocations: 0.8446 MB / 0.5534 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.3726, allocations: 159.3 kB / 0.5535 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3726, allocations: 0 / 0.5535 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.3728, allocations: 53.22 kB / 0.5536 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3733, allocations: 48.08 kB / 0.5536 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.3766, allocations: 2.536 MB / 0.5561 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.3769, allocations: 0.7206 MB / 0.5568 GB, free: 5.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.3772, allocations: 77.81 kB / 0.5569 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.3773, allocations: 55.42 kB / 0.5569 GB, free: 5.254 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3773, allocations: 0 / 0.5569 GB, free: 5.254 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.4092, allocations: 6.59 MB / 0.5634 GB, free: 14.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.03, allocations: 4.984 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 & 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