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.001222/0.001222, allocations: 116.1 kB / 17.07 MB, free: 5.992 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.001198/0.001198, allocations: 196 kB / 18 MB, free: 5.074 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.367/1.367, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 43.91 kB / 350.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.234, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007293/0.2414, allocations: 4.858 MB / 405.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.2423, allocations: 0.6153 MB / 405.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.2423, allocations: 4 kB / 405.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.2426, allocations: 31.78 kB / 405.7 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.2439, allocations: 0.5761 MB / 406.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.2442, allocations: 91.42 kB / 406.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.2444, allocations: 179.3 kB / 406.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.2445, allocations: 4 kB / 406.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.2455, allocations: 0.6197 MB / 407.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.2456, allocations: 51.78 kB / 407.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.2456, allocations: 4 kB / 407.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.247, allocations: 0.854 MB / 408.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.247, allocations: 27.89 kB / 408.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.2471, allocations: 39.86 kB / 408.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.2475, allocations: 238.2 kB / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2475, allocations: 0 / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2476, allocations: 0 / 408.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2476, allocations: 0 / 408.4 MB, free: 0.6211 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.0005915/0.2482, allocations: 430.7 kB / 408.8 MB, free: 156 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2482, allocations: 16.03 kB / 408.8 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.2483, allocations: 38.73 kB / 408.9 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.2486, allocations: 36.88 kB / 408.9 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.2489, allocations: 196.2 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2489, allocations: 8.125 kB / 409.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.249, allocations: 12 kB / 409.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2492, allocations: 140.1 kB / 409.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2492, allocations: 4 kB / 409.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2493, allocations: 0 / 409.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2493, allocations: 4 kB / 409.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2495, allocations: 107.9 kB / 409.4 MB, free: 15.54 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.0007801/0.2502, allocations: 0.6683 MB / 410 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2504, allocations: 86.48 kB / 410.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.2505, allocations: 40.84 kB / 410.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008612/0.2514, allocations: 0.8037 MB / 411 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2514, allocations: 34.56 kB / 411 MB, free: 13.62 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.2514, allocations: 0 / 411 MB, free: 13.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000299/0.2517, allocations: 137.8 kB / 411.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.2518, allocations: 51.41 kB / 411.2 MB, free: 13.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2519, allocations: 125.8 kB / 411.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2519, allocations: 25.7 kB / 411.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.252, allocations: 103.9 kB / 411.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.252, allocations: 43.58 kB / 411.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.2521, allocations: 37.7 kB / 411.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2522, allocations: 322.8 kB / 411.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.2523, allocations: 27.98 kB / 411.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.2524, allocations: 61.14 kB / 411.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2525, allocations: 115 kB / 412 MB, free: 12.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2525, allocations: 0 / 412 MB, free: 12.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002196/0.2528, allocations: 137.5 kB / 412.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2528, allocations: 14.59 kB / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2528, allocations: 0 / 412.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2528, allocations: 7.938 kB / 412.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2529, allocations: 27.98 kB / 412.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.253, allocations: 8.156 kB / 412.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.673e-05/0.253, allocations: 11.95 kB / 412.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.253, allocations: 4 kB / 412.2 MB, free: 12.3 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 0.0001028/0.2532, allocations: 125.7 kB / 412.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2532, allocations: 11.95 kB / 412.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.2535, allocations: 140.3 kB / 412.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2535, allocations: 8 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2535, allocations: 4 kB / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2535, allocations: 0 / 412.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.254, allocations: 390.4 kB / 412.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.254, allocations: 0 / 412.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.2541, allocations: 31.92 kB / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2541, allocations: 0 / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2541, allocations: 0 / 412.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2541, allocations: 4 kB / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2541, allocations: 0 / 412.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.2543, allocations: 214.4 kB / 413.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.2544, allocations: 101 kB / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.2544, allocations: 0 / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.2545, allocations: 4 kB / 413.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.2546, allocations: 7.984 kB / 413.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2546, allocations: 8 kB / 413.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.25e-05/0.2547, allocations: 99.14 kB / 413.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2547, allocations: 4 kB / 413.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.255, allocations: 55.88 kB / 413.4 MB, free: 11.01 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.0006566/0.2556, allocations: 0.798 MB / 414.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.2558, allocations: 87.84 kB / 414.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2558, allocations: 0 / 414.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.2559, allocations: 35.98 kB / 414.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.2563, allocations: 44.2 kB / 414.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2579, allocations: 1.577 MB / 416 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2583, allocations: 0.6967 MB / 416.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.2584, allocations: 37.12 kB / 416.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.2585, allocations: 35.42 kB / 416.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2585, allocations: 4 kB / 416.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.2834, allocations: 3.738 MB / 420.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.051, allocations: 11 kB / 420.5 MB, free: 3.902 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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