Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001108, allocations: 117.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.001185/0.001185, 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.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 79.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3534, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008313/0.3618, allocations: 5.303 MB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3652, allocations: 2.649 MB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.3654, allocations: 1.281 kB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.3658, allocations: 34.3 kB / 0.5383 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.3697, allocations: 1.082 MB / 0.5394 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3701, allocations: 151.6 kB / 0.5395 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.3706, allocations: 310.7 kB / 0.5398 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.3706, allocations: 13.17 kB / 0.5399 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3717, allocations: 0.6481 MB / 0.5405 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.372, allocations: 153.4 kB / 0.5406 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.3721, allocations: 6 kB / 0.5406 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.3743, allocations: 1.215 MB / 0.5418 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-05/0.3743, allocations: 33.05 kB / 0.5419 GB, free: 5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3745, allocations: 84.48 kB / 0.5419 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.3758, allocations: 0.5262 MB / 0.5425 GB, free: 4.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3758, allocations: 5.125 kB / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3758, allocations: 0 / 0.5425 GB, free: 4.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3758, allocations: 0 / 0.5425 GB, free: 4.664 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.001146/0.377, allocations: 0.5793 MB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.377, allocations: 8.969 kB / 0.543 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.3771, allocations: 52.42 kB / 0.5431 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004722/0.3776, allocations: 47.66 kB / 0.5431 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3779, allocations: 213.2 kB / 0.5433 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3779, allocations: 15.66 kB / 0.5433 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.378, allocations: 17.84 kB / 0.5434 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.3784, allocations: 239.2 kB / 0.5436 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3784, allocations: 5.156 kB / 0.5436 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3785, allocations: 10.38 kB / 0.5436 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3785, allocations: 4.469 kB / 0.5436 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.3789, allocations: 236.9 kB / 0.5438 GB, free: 3.504 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.001384/0.3803, allocations: 1.367 MB / 0.5452 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.3805, allocations: 89.44 kB / 0.5453 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.3806, allocations: 48.17 kB / 0.5453 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.3822, allocations: 2.042 MB / 0.5473 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.3824, allocations: 172.7 kB / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.414e-06/0.3824, allocations: 0 / 0.5475 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001026/0.3835, allocations: 357.1 kB / 0.5478 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.3836, allocations: 277.3 kB / 0.5481 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3838, allocations: 146.8 kB / 0.5482 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3838, allocations: 26.77 kB / 0.5482 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.3839, allocations: 153.6 kB / 0.5484 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.384, allocations: 71.41 kB / 0.5484 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.3841, allocations: 65.66 kB / 0.5485 GB, free: 14.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3842, allocations: 330.8 kB / 0.5488 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.222e-05/0.3843, allocations: 39.97 kB / 0.5489 GB, free: 14.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3845, allocations: 199.3 kB / 0.5491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3848, allocations: 258.5 kB / 0.5493 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3848, allocations: 0 / 0.5493 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004455/0.3853, allocations: 265.3 kB / 0.5495 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3853, allocations: 8 kB / 0.5496 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3853, allocations: 4 kB / 0.5496 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3853, allocations: 8 kB / 0.5496 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.3858, allocations: 100.5 kB / 0.5497 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004109/0.3862, allocations: 0.5937 MB / 0.5502 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3864, allocations: 16.22 kB / 0.5503 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.3865, allocations: 23.98 kB / 0.5503 GB, free: 12.52 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.0001556/0.3866, allocations: 141.7 kB / 0.5504 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3867, allocations: 15.91 kB / 0.5504 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.3872, allocations: 227.9 kB / 0.5507 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3872, allocations: 4.062 kB / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3872, allocations: 3.938 kB / 0.5507 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3872, allocations: 4 kB / 0.5507 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.3877, allocations: 444.8 kB / 0.5511 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3877, allocations: 0 / 0.5511 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.3881, allocations: 55.95 kB / 0.5511 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3882, allocations: 3.938 kB / 0.5511 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3882, allocations: 4 kB / 0.5511 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/0.3885, allocations: 0.586 MB / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3885, allocations: 0 / 0.5517 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3888, allocations: 150.6 kB / 0.5519 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.3889, allocations: 101.1 kB / 0.552 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3889, allocations: 7.953 kB / 0.552 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3891, allocations: 11.98 kB / 0.552 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.3891, allocations: 8 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3891, allocations: 11.98 kB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.3892, allocations: 119.2 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3892, allocations: 0 / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.3897, allocations: 147.6 kB / 0.5523 GB, free: 10.32 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.0009648/0.3907, allocations: 0.8357 MB / 0.5531 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004878/0.3912, allocations: 159.9 kB / 0.5532 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3912, allocations: 0 / 0.5532 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3914, allocations: 51.91 kB / 0.5533 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3919, allocations: 53.12 kB / 0.5533 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.3949, allocations: 2.541 MB / 0.5558 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3952, allocations: 0.7168 MB / 0.5565 GB, free: 5.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.3955, allocations: 73.72 kB / 0.5566 GB, free: 5.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.3956, allocations: 59.34 kB / 0.5566 GB, free: 5.566 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3956, allocations: 0 / 0.5566 GB, free: 5.566 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.4212, allocations: 6.59 MB / 0.5631 GB, free: 15.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.62, allocations: 4.203 kB / 0.5631 GB, free: 15.16 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_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_Glycol47.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches