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: 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_3.2.3_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_3.2.3_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.001213/0.001213, allocations: 109 kB / 17.15 MB, free: 6.328 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.001186/0.001186, allocations: 198 kB / 18.07 MB, free: 5.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.407/1.407, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001372/0.001372, allocations: 47.94 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 46.62 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01232/0.1285, allocations: 7.932 MB / 334.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1297, allocations: 0.6466 MB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.1298, allocations: 4 kB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1302, allocations: 19.89 kB / 335.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1316, allocations: 0.518 MB / 335.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1319, allocations: 87.88 kB / 335.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.1322, allocations: 223.2 kB / 336 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1322, allocations: 4 kB / 336 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1334, allocations: 0.7053 MB / 336.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.1335, allocations: 51.83 kB / 336.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1336, allocations: 4 kB / 336.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.1353, allocations: 0.9476 MB / 337.7 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.1354, allocations: 27.84 kB / 337.7 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.1355, allocations: 47.73 kB / 337.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.136, allocations: 231.5 kB / 338 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.136, allocations: 0 / 338 MB, free: 9.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.136, allocations: 0 / 338 MB, free: 9.406 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.136, allocations: 0 / 338 MB, free: 9.406 MB / 286.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.0007556/0.1368, allocations: 431.1 kB / 338.4 MB, free: 8.938 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.1369, allocations: 12.03 kB / 338.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.1374, allocations: 36.81 kB / 338.5 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1376, allocations: 188.3 kB / 338.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1377, allocations: 4.375 kB / 338.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1377, allocations: 8.375 kB / 338.7 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.138, allocations: 145.1 kB / 338.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.138, allocations: 0 / 338.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.1381, allocations: 8 kB / 338.8 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1381, allocations: 0 / 338.8 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1383, allocations: 111.8 kB / 338.9 MB, free: 8.379 MB / 286.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.0008727/0.1392, allocations: 0.6566 MB / 339.6 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1394, allocations: 98.48 kB / 339.7 MB, free: 7.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.1394, allocations: 36.84 kB / 339.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007776/0.1402, allocations: 0.8115 MB / 340.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1403, allocations: 30.56 kB / 340.6 MB, free: 6.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.1403, allocations: 0 / 340.6 MB, free: 6.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003437/0.1406, allocations: 125.7 kB / 340.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1407, allocations: 55.41 kB / 340.8 MB, free: 6.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.1408, allocations: 129.7 kB / 340.9 MB, free: 6.137 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1408, allocations: 29.7 kB / 340.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.1409, allocations: 99.88 kB / 341 MB, free: 6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.1409, allocations: 47.3 kB / 341.1 MB, free: 5.953 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.141, allocations: 37.61 kB / 341.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1411, allocations: 318.8 kB / 341.4 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.1411, allocations: 23.98 kB / 341.4 MB, free: 5.566 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.68e-05/0.1412, allocations: 76.25 kB / 341.5 MB, free: 5.477 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1414, allocations: 109.3 kB / 341.6 MB, free: 5.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1414, allocations: 3.938 kB / 341.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001991/0.1416, allocations: 130 kB / 341.7 MB, free: 5.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1416, allocations: 8 kB / 341.7 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1416, allocations: 0 / 341.7 MB, free: 5.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1417, allocations: 7.984 kB / 341.8 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1418, allocations: 35.92 kB / 341.8 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1418, allocations: 4.094 kB / 341.8 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.1419, allocations: 19.83 kB / 341.8 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1419, allocations: 16 kB / 341.8 MB, free: 5.125 MB / 286.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.202e-05/0.142, allocations: 117.8 kB / 341.9 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.142, allocations: 4 kB / 341.9 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.1423, allocations: 146.5 kB / 342.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1423, allocations: 4 kB / 342.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.1424, allocations: 7.938 kB / 342.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1424, allocations: 0 / 342.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1428, allocations: 390.3 kB / 342.5 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1428, allocations: 0 / 342.5 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.1429, allocations: 23.98 kB / 342.5 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1429, allocations: 3.938 kB / 342.5 MB, free: 4.375 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1429, allocations: 4 kB / 342.5 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1429, allocations: 0 / 342.5 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.143, allocations: 11.88 kB / 342.5 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.1432, allocations: 195.5 kB / 342.7 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/0.1432, allocations: 100.9 kB / 342.8 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1433, allocations: 8 kB / 342.8 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1434, allocations: 0 / 342.8 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.1434, allocations: 11.98 kB / 342.8 MB, free: 4.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1434, allocations: 4 kB / 342.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.229e-05/0.1435, allocations: 91.27 kB / 342.9 MB, free: 3.922 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1435, allocations: 8 kB / 342.9 MB, free: 3.914 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003302/0.1438, allocations: 51.94 kB / 343 MB, free: 3.863 MB / 286.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.0003718/0.1442, allocations: 175 kB / 343.2 MB, free: 3.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1444, allocations: 79.91 kB / 343.2 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1444, allocations: 0 / 343.2 MB, free: 3.602 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.1445, allocations: 40.23 kB / 343.3 MB, free: 3.562 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.145, allocations: 47.95 kB / 343.3 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.1455, allocations: 269.1 kB / 343.6 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1458, allocations: 0.6931 MB / 344.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.1459, allocations: 37 kB / 344.3 MB, free: 2.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.146, allocations: 19.44 kB / 344.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of SimCode: time 2.81e-07/0.146, allocations: 0 / 344.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of Templates: time 0.005619/0.1516, allocations: 2.423 MB / 346.8 MB, free: 36 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches