Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",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.001366/0.001367, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001366/0.001366, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 224.5 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 59.92 kB / 328 MB, free: 3.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08779, allocations: 46.62 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.1656/0.2534, allocations: 7.757 MB / 382.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006803/0.2542, allocations: 0.6224 MB / 383 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.2543, allocations: 0.5312 kB / 383 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2545, allocations: 27.23 kB / 383 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.2559, allocations: 0.5833 MB / 383.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.2561, allocations: 95.7 kB / 383.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.2564, allocations: 182.3 kB / 383.9 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.2564, allocations: 5.062 kB / 383.9 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.2574, allocations: 0.6153 MB / 384.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.2575, allocations: 54.22 kB / 384.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.2576, allocations: 5.906 kB / 384.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.2589, allocations: 0.8475 MB / 385.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.2589, allocations: 23.06 kB / 385.4 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.259, allocations: 43.34 kB / 385.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.2594, allocations: 236.4 kB / 385.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2594, allocations: 1.172 kB / 385.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2594, allocations: 1.344 kB / 385.7 MB, free: 8.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2594, allocations: 0 / 385.7 MB, free: 8.441 MB / 318.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.0004008/0.2598, allocations: 428.2 kB / 386.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2599, allocations: 10.38 kB / 386.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.2599, allocations: 46.97 kB / 386.2 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.2603, allocations: 30.77 kB / 386.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2605, allocations: 194.7 kB / 386.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2605, allocations: 9.469 kB / 386.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.2605, allocations: 9.844 kB / 386.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.2607, allocations: 150.7 kB / 386.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2608, allocations: 0.6562 kB / 386.6 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2608, allocations: 6.125 kB / 386.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2608, allocations: 2.531 kB / 386.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.261, allocations: 109 kB / 386.7 MB, free: 7.703 MB / 318.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.0005274/0.2615, allocations: 0.6664 MB / 387.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.2616, allocations: 86.05 kB / 387.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.481e-05/0.2617, allocations: 39.34 kB / 387.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003651/0.2621, allocations: 0.8081 MB / 388.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2621, allocations: 36.38 kB / 388.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2621, allocations: 1.125 kB / 388.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002739/0.2624, allocations: 131.3 kB / 388.5 MB, free: 6.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.2624, allocations: 54.2 kB / 388.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.2625, allocations: 118.4 kB / 388.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.2625, allocations: 26.7 kB / 388.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.2626, allocations: 101.8 kB / 388.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2626, allocations: 48.22 kB / 388.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.2626, allocations: 36.41 kB / 388.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.2627, allocations: 323.4 kB / 389.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.2628, allocations: 27.22 kB / 389.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.2628, allocations: 65.88 kB / 389.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.2629, allocations: 111.4 kB / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.263, allocations: 0 / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001949/0.2632, allocations: 144.1 kB / 389.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2632, allocations: 9.719 kB / 389.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2632, allocations: 1.281 kB / 389.5 MB, free: 5.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2632, allocations: 7.5 kB / 389.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.2633, allocations: 33.55 kB / 389.5 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2633, allocations: 7.797 kB / 389.5 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.2634, allocations: 10.61 kB / 389.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.2634, allocations: 11.12 kB / 389.6 MB, free: 5.215 MB / 318.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 7.686e-05/0.2635, allocations: 122.5 kB / 389.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.2636, allocations: 9.375 kB / 389.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.2638, allocations: 148.2 kB / 389.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2638, allocations: 5.062 kB / 389.8 MB, free: 5.035 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2638, allocations: 7.656 kB / 389.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2639, allocations: 0.9844 kB / 389.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.2642, allocations: 395.4 kB / 390.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2642, allocations: 0 / 390.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.2643, allocations: 24.62 kB / 390.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2643, allocations: 4.969 kB / 390.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2643, allocations: 10.72 kB / 390.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2644, allocations: 0 / 390.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2644, allocations: 1.922 kB / 390.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.2645, allocations: 196.6 kB / 390.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.2646, allocations: 99.33 kB / 390.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.2646, allocations: 4.016 kB / 390.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.2647, allocations: 1.062 kB / 390.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.2647, allocations: 10.98 kB / 390.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2647, allocations: 10.62 kB / 390.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.432e-05/0.2648, allocations: 88.98 kB / 390.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2648, allocations: 3.938 kB / 390.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.2651, allocations: 62.78 kB / 390.7 MB, free: 4.383 MB / 318.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.0004753/0.2656, allocations: 0.7907 MB / 391.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.2658, allocations: 91.14 kB / 391.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2658, allocations: 1.719 kB / 391.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/0.2659, allocations: 36.75 kB / 391.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2663, allocations: 43.22 kB / 391.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2675, allocations: 1.566 MB / 393.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.2676, allocations: 0.7005 MB / 394 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.2677, allocations: 34.3 kB / 394 MB, free: 1.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.2678, allocations: 34.31 kB / 394 MB, free: 1.504 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2678, allocations: 0 / 394 MB, free: 1.504 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.2933, allocations: 3.789 MB / 397.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.293, allocations: 4.891 kB / 397.8 MB, free: 0.7656 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches