Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 95.62 kB / 16.93 MB, free: 5.984 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.0009241/0.0009241, allocations: 180.8 kB / 17.82 MB, free: 5.652 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.527/1.527, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004805/0.0004805, allocations: 11.44 kB / 280.8 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.01514/0.1185, allocations: 14.19 MB / 342.5 MB, free: 5.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.1207, allocations: 1.636 MB / 344.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.1209, allocations: 4 kB / 344.2 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.1214, allocations: 131.3 kB / 344.3 MB, free: 4.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.1219, allocations: 211.4 kB / 344.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.1238, allocations: 0.8068 MB / 345.3 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.1244, allocations: 498.8 kB / 345.8 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1246, allocations: 72.69 kB / 345.9 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.1283, allocations: 2.489 MB / 348.4 MB, free: 24 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.1286, allocations: 167.3 kB / 348.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.1287, allocations: 16 kB / 348.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.1292, allocations: 219.7 kB / 348.7 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1293, allocations: 71.78 kB / 348.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.369e-05/0.1294, allocations: 97.52 kB / 348.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.1299, allocations: 443.1 kB / 349.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1299, allocations: 0 / 349.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1299, allocations: 0 / 349.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1299, allocations: 0 / 349.3 MB, free: 15.02 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007498/0.1307, allocations: 0.5495 MB / 349.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1308, allocations: 12.03 kB / 349.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.1311, allocations: 55.55 kB / 350 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.1315, allocations: 282.4 kB / 350.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1315, allocations: 20.56 kB / 350.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.1316, allocations: 31.86 kB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.1321, allocations: 330.2 kB / 350.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1321, allocations: 0 / 350.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1321, allocations: 12 kB / 350.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1321, allocations: 8 kB / 350.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.1324, allocations: 189.5 kB / 350.8 MB, free: 13.43 MB / 302.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.002095/0.1346, allocations: 2.119 MB / 352.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1348, allocations: 182.5 kB / 353.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.135, allocations: 255.3 kB / 353.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1351, allocations: 38.52 kB / 353.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.1351, allocations: 0 / 353.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002399/0.1375, allocations: 1.019 MB / 354.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.1375, allocations: 55.39 kB / 354.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1378, allocations: 270.5 kB / 354.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1379, allocations: 29.7 kB / 354.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.138, allocations: 184.2 kB / 354.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.402e-05/0.1381, allocations: 98.55 kB / 355 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.1381, allocations: 8 kB / 355 MB, free: 8.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1383, allocations: 342.8 kB / 355.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1384, allocations: 84.7 kB / 355.5 MB, free: 8.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1386, allocations: 166.8 kB / 355.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1388, allocations: 112 kB / 355.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1388, allocations: 0 / 355.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005275/0.1393, allocations: 381.4 kB / 356.1 MB, free: 7.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1394, allocations: 8.297 kB / 356.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1394, allocations: 8 kB / 356.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.1398, allocations: 92.73 kB / 356.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.14, allocations: 67.84 kB / 356.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005725/0.1406, allocations: 0.65 MB / 356.9 MB, free: 6.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1408, allocations: 23.92 kB / 357 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1409, allocations: 23.98 kB / 357 MB, free: 6.777 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.1411, allocations: 157.7 kB / 357.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.1411, allocations: 27.72 kB / 357.2 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006693/0.1418, allocations: 372.9 kB / 357.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1418, allocations: 4 kB / 357.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.1419, allocations: 3.953 kB / 357.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006121/0.1425, allocations: 0.5592 MB / 358.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.1437, allocations: 0.7355 MB / 358.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.1437, allocations: 0 / 358.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.1438, allocations: 39.97 kB / 358.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.1444, allocations: 100.7 kB / 359 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.1444, allocations: 4 kB / 359 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004817/0.1449, allocations: 0.646 MB / 359.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1449, allocations: 4.031 kB / 359.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006872/0.1456, allocations: 0.4895 MB / 360.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1457, allocations: 108.8 kB / 360.2 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.1458, allocations: 4 kB / 360.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.146, allocations: 23.84 kB / 360.2 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.1461, allocations: 15.98 kB / 360.3 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.1461, allocations: 11.98 kB / 360.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1463, allocations: 202 kB / 360.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1463, allocations: 0 / 360.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004571/0.1468, allocations: 115.9 kB / 360.6 MB, free: 2.891 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003159/0.1471, allocations: 151.1 kB / 360.7 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1477, allocations: 236.3 kB / 361 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.1477, allocations: 4 kB / 361 MB, free: 2.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.1479, allocations: 127.8 kB / 361.1 MB, free: 2.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/0.1488, allocations: 144.9 kB / 361.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1501, allocations: 0.7745 MB / 362 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1505, allocations: 0.7728 MB / 362.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.1507, allocations: 59.25 kB / 362.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.1508, allocations: 35.41 kB / 362.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1508, allocations: 0 / 362.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of Templates: time 0.0108/0.1616, allocations: 6.324 MB / 369.2 MB, free: 10.22 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches