Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.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) 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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.34 kB / 307 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08377/0.08494, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006821/0.09181, allocations: 4.92 MB / 362.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008527/0.09269, allocations: 0.6192 MB / 363.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.09277, allocations: 0 / 363.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.09303, allocations: 31.78 kB / 363.1 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.09442, allocations: 0.5878 MB / 363.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.09466, allocations: 99.47 kB / 363.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.09494, allocations: 179.2 kB / 364 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.09499, allocations: 7.984 kB / 364 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.09602, allocations: 0.6119 MB / 364.6 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.09612, allocations: 55.77 kB / 364.7 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.09615, allocations: 4 kB / 364.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.09741, allocations: 0.8777 MB / 365.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.09747, allocations: 23.86 kB / 365.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.09754, allocations: 51.78 kB / 365.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.09796, allocations: 239.5 kB / 365.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09797, allocations: 0 / 365.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09798, allocations: 0 / 365.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.09799, allocations: 4 kB / 365.9 MB, free: 5.691 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004874/0.09848, allocations: 427.1 kB / 366.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.09853, allocations: 8.031 kB / 366.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.09859, allocations: 42.73 kB / 366.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003946/0.09899, allocations: 36.81 kB / 366.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.0992, allocations: 192.3 kB / 366.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.09922, allocations: 8.125 kB / 366.6 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.09925, allocations: 8 kB / 366.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.09948, allocations: 143.4 kB / 366.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.0995, allocations: 0 / 366.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.09952, allocations: 4 kB / 366.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.09953, allocations: 0 / 366.7 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.09971, allocations: 123.8 kB / 366.8 MB, free: 4.609 MB / 302.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.0006737/0.1004, allocations: 0.6528 MB / 367.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.1005, allocations: 90.42 kB / 367.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.1006, allocations: 44.84 kB / 367.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/0.1012, allocations: 0.8076 MB / 368.4 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1012, allocations: 34.56 kB / 368.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1012, allocations: 0 / 368.5 MB, free: 2.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002741/0.1015, allocations: 129.9 kB / 368.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.1016, allocations: 59.34 kB / 368.7 MB, free: 2.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.1016, allocations: 117.8 kB / 368.8 MB, free: 2.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1017, allocations: 29.7 kB / 368.8 MB, free: 2.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1017, allocations: 107.8 kB / 368.9 MB, free: 2.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.1018, allocations: 47.3 kB / 368.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.1018, allocations: 33.72 kB / 369 MB, free: 2.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1019, allocations: 318.8 kB / 369.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.102, allocations: 27.98 kB / 369.3 MB, free: 1.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.1021, allocations: 65.14 kB / 369.4 MB, free: 1.715 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1022, allocations: 104.6 kB / 369.5 MB, free: 1.598 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1022, allocations: 4 kB / 369.5 MB, free: 1.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002001/0.1024, allocations: 141.4 kB / 369.6 MB, free: 1.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1024, allocations: 4 kB / 369.6 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1025, allocations: 4 kB / 369.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1025, allocations: 3.938 kB / 369.6 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1026, allocations: 31.92 kB / 369.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1026, allocations: 4 kB / 369.7 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.1027, allocations: 15.84 kB / 369.7 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1027, allocations: 16.36 kB / 369.7 MB, free: 1.371 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.1028, allocations: 131 kB / 369.8 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.1028, allocations: 7.906 kB / 369.8 MB, free: 1.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.1032, allocations: 142 kB / 370 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1032, allocations: 0 / 370 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1032, allocations: 0 / 370 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1032, allocations: 3.938 kB / 370 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1036, allocations: 406.3 kB / 370.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1036, allocations: 0 / 370.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.1037, allocations: 19.98 kB / 370.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1037, allocations: 0 / 370.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1037, allocations: 4 kB / 370.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1037, allocations: 0 / 370.4 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1037, allocations: 3.938 kB / 370.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1039, allocations: 211.4 kB / 370.6 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.104, allocations: 96.94 kB / 370.7 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.104, allocations: 0 / 370.7 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.1041, allocations: 11.98 kB / 370.7 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.1042, allocations: 4 kB / 370.7 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1042, allocations: 7.984 kB / 370.7 MB, free: 244 kB / 302.1 MB Notification: Performance of sorting global known variables: time 4.541e-05/0.1042, allocations: 87.28 kB / 370.8 MB, free: 156 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1042, allocations: 0 / 370.8 MB, free: 156 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1046, allocations: 59.98 kB / 370.9 MB, free: 96 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1416/0.2462, allocations: 0.7983 MB / 371.7 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.2464, allocations: 94.69 kB / 371.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2465, allocations: 0 / 371.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.2465, allocations: 41.09 kB / 371.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.247, allocations: 42.62 kB / 371.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2482, allocations: 1.567 MB / 373.4 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2483, allocations: 0.6931 MB / 374.1 MB, free: 18.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.2485, allocations: 34.88 kB / 374.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.2485, allocations: 33.56 kB / 374.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2485, allocations: 0.5938 kB / 374.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.268, allocations: 3.91 MB / 378.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.611, allocations: 9.297 kB / 378.1 MB, free: 17.73 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches