Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 114.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 187.7 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 71.88 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3307, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.006354/0.3371, allocations: 5.24 MB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.3404, allocations: 2.652 MB / 0.5262 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.3405, allocations: 2.188 kB / 0.5262 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.3408, allocations: 44.64 kB / 0.5262 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.3439, allocations: 1.082 MB / 0.5273 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.3443, allocations: 147.6 kB / 0.5274 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.3448, allocations: 298.5 kB / 0.5277 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.3449, allocations: 11.36 kB / 0.5277 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3461, allocations: 0.7521 MB / 0.5284 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.3464, allocations: 156.1 kB / 0.5286 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.3464, allocations: 6.469 kB / 0.5286 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.3487, allocations: 1.292 MB / 0.5299 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.3488, allocations: 33.77 kB / 0.5299 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3489, allocations: 84.25 kB / 0.53 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000894/0.3498, allocations: 0.5197 MB / 0.5305 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3498, allocations: 3.938 kB / 0.5305 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3498, allocations: 0 / 0.5305 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3498, allocations: 1.406 kB / 0.5305 GB, free: 11.55 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.001011/0.3508, allocations: 0.5779 MB / 0.531 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3509, allocations: 8.594 kB / 0.5311 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/0.351, allocations: 53.77 kB / 0.5311 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004599/0.3514, allocations: 41.94 kB / 0.5311 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.3517, allocations: 210.7 kB / 0.5313 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3518, allocations: 19.22 kB / 0.5314 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3518, allocations: 14.44 kB / 0.5314 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3522, allocations: 251.6 kB / 0.5316 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3523, allocations: 0 / 0.5316 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.3523, allocations: 8.219 kB / 0.5316 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.3523, allocations: 3.75 kB / 0.5316 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.3527, allocations: 243.2 kB / 0.5319 GB, free: 10.38 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.001402/0.3541, allocations: 1.367 MB / 0.5332 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3543, allocations: 85.39 kB / 0.5333 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.3544, allocations: 42.69 kB / 0.5333 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.3561, allocations: 2.047 MB / 0.5353 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.3564, allocations: 165.5 kB / 0.5355 GB, free: 6.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.754e-06/0.3564, allocations: 0 / 0.5355 GB, free: 6.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009331/0.3573, allocations: 368.3 kB / 0.5358 GB, free: 6.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.3575, allocations: 266.5 kB / 0.5361 GB, free: 5.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3576, allocations: 156.8 kB / 0.5362 GB, free: 5.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3577, allocations: 32.39 kB / 0.5363 GB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3578, allocations: 151.1 kB / 0.5364 GB, free: 5.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.3578, allocations: 64.53 kB / 0.5365 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.3579, allocations: 65.98 kB / 0.5365 GB, free: 5.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3581, allocations: 322.1 kB / 0.5368 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.955e-05/0.3582, allocations: 56.83 kB / 0.5369 GB, free: 5.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.3584, allocations: 189.5 kB / 0.5371 GB, free: 4.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.3587, allocations: 255 kB / 0.5373 GB, free: 4.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3587, allocations: 3.938 kB / 0.5373 GB, free: 4.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004313/0.3591, allocations: 256.4 kB / 0.5376 GB, free: 4.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3592, allocations: 12.08 kB / 0.5376 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3592, allocations: 5.438 kB / 0.5376 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3592, allocations: 6.969 kB / 0.5376 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.3597, allocations: 100.1 kB / 0.5377 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000379/0.3601, allocations: 0.5912 MB / 0.5383 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3602, allocations: 18.2 kB / 0.5383 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.3603, allocations: 24.11 kB / 0.5383 GB, free: 3.828 MB / 398.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.0001356/0.3604, allocations: 140 kB / 0.5384 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.3605, allocations: 14.2 kB / 0.5384 GB, free: 3.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.361, allocations: 229.9 kB / 0.5387 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.361, allocations: 1.156 kB / 0.5387 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.361, allocations: 9.062 kB / 0.5387 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.361, allocations: 1.156 kB / 0.5387 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.3615, allocations: 448.5 kB / 0.5391 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3615, allocations: 0 / 0.5391 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003314/0.3618, allocations: 50.11 kB / 0.5392 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3618, allocations: 5.094 kB / 0.5392 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.3619, allocations: 2.188 kB / 0.5392 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003395/0.3622, allocations: 0.5936 MB / 0.5397 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3622, allocations: 1.031 kB / 0.5397 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3624, allocations: 145.8 kB / 0.5399 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.3625, allocations: 103.6 kB / 0.54 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.3626, allocations: 14.2 kB / 0.54 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3627, allocations: 3.312 kB / 0.54 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.3628, allocations: 12.45 kB / 0.54 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3628, allocations: 18.48 kB / 0.54 GB, free: 2.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3629, allocations: 120.6 kB / 0.5401 GB, free: 2.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3629, allocations: 1.156 kB / 0.5401 GB, free: 2.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.3635, allocations: 136.8 kB / 0.5403 GB, free: 2.004 MB / 398.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.0009386/0.3644, allocations: 0.8322 MB / 0.5411 GB, free: 1.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004731/0.3649, allocations: 158.8 kB / 0.5412 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3649, allocations: 0 / 0.5412 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.3651, allocations: 53.42 kB / 0.5413 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.3655, allocations: 49.48 kB / 0.5413 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.3687, allocations: 2.501 MB / 0.5438 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.369, allocations: 0.7117 MB / 0.5445 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.3693, allocations: 72.38 kB / 0.5445 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.3694, allocations: 60.16 kB / 0.5446 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3694, allocations: 0 / 0.5446 GB, free: 14.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.4007, allocations: 6.504 MB / 0.5509 GB, free: 9.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.97, allocations: 22 kB / 0.551 GB, free: 9.547 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches