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: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 108 kB / 17.06 MB, free: 6.117 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.001106/0.001106, allocations: 199.9 kB / 18 MB, free: 5.191 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.289/1.289, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009273/0.0009273, allocations: 47.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2274, allocations: 49.42 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00633/0.2338, allocations: 4.864 MB / 405.6 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.2346, allocations: 0.6153 MB / 406.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.2346, allocations: 4 kB / 406.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.2349, allocations: 31.77 kB / 406.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.2361, allocations: 0.5722 MB / 406.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.2363, allocations: 99.16 kB / 406.9 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.2366, allocations: 179.3 kB / 407.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.2366, allocations: 4 kB / 407.1 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009807/0.2376, allocations: 0.6158 MB / 407.7 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.2377, allocations: 51.77 kB / 407.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2377, allocations: 4 kB / 407.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.239, allocations: 0.8552 MB / 408.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.239, allocations: 19.97 kB / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.2391, allocations: 43.8 kB / 408.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.2395, allocations: 235.3 kB / 408.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2395, allocations: 3.938 kB / 408.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2395, allocations: 0 / 408.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2395, allocations: 4 kB / 408.9 MB, free: 0.6836 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.0004804/0.24, allocations: 419.3 kB / 409.3 MB, free: 232 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2401, allocations: 12.02 kB / 409.3 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.2405, allocations: 40.83 kB / 409.3 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.2407, allocations: 196.2 kB / 409.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2407, allocations: 12.33 kB / 409.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2408, allocations: 11.94 kB / 409.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.241, allocations: 133 kB / 409.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.241, allocations: 4 kB / 409.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2411, allocations: 8 kB / 409.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2411, allocations: 4 kB / 409.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.2412, allocations: 107.9 kB / 409.8 MB, free: 15.65 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.0006871/0.2419, allocations: 0.6606 MB / 410.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2421, allocations: 90.48 kB / 410.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.2422, allocations: 36.84 kB / 410.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.2428, allocations: 0.8115 MB / 411.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.2428, allocations: 30.56 kB / 411.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2428, allocations: 0 / 411.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002857/0.2431, allocations: 129.8 kB / 411.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2431, allocations: 59.34 kB / 411.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.2432, allocations: 117.8 kB / 411.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.2432, allocations: 33.7 kB / 411.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.2433, allocations: 96.27 kB / 411.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.2433, allocations: 43.36 kB / 411.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.2434, allocations: 37.7 kB / 411.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2435, allocations: 314.8 kB / 412.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.2436, allocations: 31.92 kB / 412.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.2436, allocations: 71.48 kB / 412.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.2438, allocations: 111.5 kB / 412.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2438, allocations: 0 / 412.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002101/0.244, allocations: 137.4 kB / 412.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.244, allocations: 4 kB / 412.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2441, allocations: 4 kB / 412.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2441, allocations: 3.938 kB / 412.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2442, allocations: 31.98 kB / 412.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2442, allocations: 3.938 kB / 412.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/0.2443, allocations: 20 kB / 412.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2443, allocations: 8 kB / 412.7 MB, free: 12.42 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.129e-05/0.2444, allocations: 117.8 kB / 412.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.2444, allocations: 7.906 kB / 412.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.2447, allocations: 152 kB / 412.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2447, allocations: 0 / 412.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.2447, allocations: 4 kB / 412.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2448, allocations: 7.984 kB / 412.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.2452, allocations: 390.4 kB / 413.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2452, allocations: 0 / 413.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.2453, allocations: 23.92 kB / 413.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2453, allocations: 4 kB / 413.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2453, allocations: 4 kB / 413.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2453, allocations: 0 / 413.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2453, allocations: 0 / 413.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.2455, allocations: 207.4 kB / 413.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.2456, allocations: 100.9 kB / 413.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2456, allocations: 8 kB / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.2457, allocations: 0 / 413.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.2458, allocations: 11.98 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2458, allocations: 4 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.003e-05/0.2458, allocations: 95.2 kB / 413.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2458, allocations: 0 / 413.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.2462, allocations: 56 kB / 413.8 MB, free: 11.14 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.0002496/0.2464, allocations: 172 kB / 414 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2467, allocations: 86.16 kB / 414.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2467, allocations: 0 / 414.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.2467, allocations: 39.92 kB / 414.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.2471, allocations: 39.89 kB / 414.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.2476, allocations: 243.5 kB / 414.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.2478, allocations: 0.6889 MB / 415.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.248, allocations: 36.8 kB / 415.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.248, allocations: 19.42 kB / 415.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.248, allocations: 0 / 415.1 MB, free: 9.77 MB / 334.1 MB Notification: Performance of Templates: time 0.005384/0.2534, allocations: 2.416 MB / 417.6 MB, free: 7.379 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/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