Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_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.001078/0.001078, allocations: 106.5 kB / 17.06 MB, free: 6.098 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.001145/0.001145, allocations: 194.9 kB / 18 MB, free: 5.172 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2381, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006355/0.2445, allocations: 4.857 MB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.2453, allocations: 0.6231 MB / 405.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.2454, allocations: 0 / 405.7 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.2456, allocations: 35.77 kB / 405.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2468, allocations: 0.5722 MB / 406.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.247, allocations: 94.55 kB / 406.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2472, allocations: 179.3 kB / 406.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.2473, allocations: 7.984 kB / 406.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009155/0.2482, allocations: 0.6197 MB / 407.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.115e-05/0.2483, allocations: 43.78 kB / 407.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2483, allocations: 8 kB / 407.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.2495, allocations: 0.854 MB / 408.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.2496, allocations: 19.91 kB / 408.1 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.2497, allocations: 43.86 kB / 408.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.25, allocations: 238.3 kB / 408.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.25, allocations: 0 / 408.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.2501, allocations: 3.938 kB / 408.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2501, allocations: 3.938 kB / 408.4 MB, free: 0.6016 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.0004444/0.2505, allocations: 422.8 kB / 408.8 MB, free: 144 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2506, allocations: 8.031 kB / 408.8 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.2506, allocations: 50.73 kB / 408.9 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.251, allocations: 32.86 kB / 408.9 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2512, allocations: 192.2 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2512, allocations: 12.12 kB / 409.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.2513, allocations: 4 kB / 409.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.2515, allocations: 137 kB / 409.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2515, allocations: 8 kB / 409.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2515, allocations: 4 kB / 409.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2515, allocations: 4 kB / 409.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.2517, allocations: 103.9 kB / 409.4 MB, free: 15.53 MB / 334.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.0006436/0.2524, allocations: 0.6682 MB / 410 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2525, allocations: 90.48 kB / 410.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.889e-05/0.2526, allocations: 40.84 kB / 410.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005561/0.2531, allocations: 0.8037 MB / 411 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2532, allocations: 34.56 kB / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2532, allocations: 0 / 411 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002735/0.2535, allocations: 136.1 kB / 411.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2535, allocations: 55.41 kB / 411.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.463e-05/0.2536, allocations: 117.8 kB / 411.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2536, allocations: 29.7 kB / 411.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.2537, allocations: 99.94 kB / 411.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.2537, allocations: 51.58 kB / 411.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.2538, allocations: 33.7 kB / 411.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2539, allocations: 318.8 kB / 411.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.809e-05/0.2539, allocations: 31.98 kB / 411.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.254, allocations: 61.52 kB / 411.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2541, allocations: 113 kB / 412 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2542, allocations: 0 / 412 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002001/0.2544, allocations: 139.2 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2544, allocations: 15.88 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2544, allocations: 0 / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2544, allocations: 7.938 kB / 412.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2545, allocations: 31.98 kB / 412.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2545, allocations: 4.156 kB / 412.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.2546, allocations: 11.89 kB / 412.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2546, allocations: 12 kB / 412.2 MB, free: 12.28 MB / 334.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.371e-05/0.2547, allocations: 117.8 kB / 412.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.2548, allocations: 11.95 kB / 412.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.255, allocations: 145.9 kB / 412.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.255, allocations: 0 / 412.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2551, allocations: 4 kB / 412.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2551, allocations: 7.984 kB / 412.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.2555, allocations: 390.2 kB / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2555, allocations: 0 / 412.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.2556, allocations: 27.92 kB / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2556, allocations: 0 / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2556, allocations: 0 / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2556, allocations: 0 / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2556, allocations: 3.984 kB / 412.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.2558, allocations: 211.4 kB / 413.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.2559, allocations: 96.98 kB / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2559, allocations: 4 kB / 413.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.256, allocations: 4 kB / 413.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.2561, allocations: 7.984 kB / 413.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2561, allocations: 4 kB / 413.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.2561, allocations: 95.2 kB / 413.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2561, allocations: 0 / 413.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000314/0.2565, allocations: 67.86 kB / 413.4 MB, free: 11 MB / 334.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.0005705/0.257, allocations: 0.7983 MB / 414.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2572, allocations: 83.84 kB / 414.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2572, allocations: 7.938 kB / 414.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.2573, allocations: 39.92 kB / 414.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.2577, allocations: 44.25 kB / 414.4 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.2591, allocations: 1.581 MB / 416 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.2595, allocations: 0.6967 MB / 416.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.2596, allocations: 28.8 kB / 416.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.2597, allocations: 27.42 kB / 416.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2597, allocations: 4 kB / 416.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.2808, allocations: 3.744 MB / 420.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.873, allocations: 20.23 kB / 420.5 MB, free: 3.887 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches