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.0009329/0.000933, allocations: 97.88 kB / 16.94 MB, free: 5.961 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.001113/0.001113, allocations: 178.5 kB / 17.82 MB, free: 5.648 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.479/1.479, 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.0005364/0.0005365, allocations: 8 kB / 280.7 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006828/0.1218, allocations: 4.552 MB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.1226, allocations: 0.5223 MB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.81e-05/0.1227, allocations: 0 / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.123, allocations: 27.88 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.1246, allocations: 0.4987 MB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1249, allocations: 83.88 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1252, allocations: 115.8 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1252, allocations: 4 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.1265, allocations: 0.6281 MB / 334.7 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1266, allocations: 43.84 kB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1266, allocations: 4 kB / 334.8 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.1281, allocations: 0.8778 MB / 335.7 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.1282, allocations: 11.98 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/0.1283, allocations: 41.64 kB / 335.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.1286, allocations: 179.8 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1286, allocations: 8 kB / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1286, allocations: 0 / 335.9 MB, free: 12.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1286, allocations: 0 / 335.9 MB, free: 12.47 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.0004385/0.1291, allocations: 403.1 kB / 336.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1291, allocations: 8.031 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.1295, allocations: 31.88 kB / 336.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1297, allocations: 198.8 kB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1298, allocations: 8 kB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.1298, allocations: 8 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.13, allocations: 137 kB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1301, allocations: 0 / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.1301, allocations: 4 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1301, allocations: 7.953 kB / 336.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1303, allocations: 107.8 kB / 336.8 MB, free: 11.47 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.0007545/0.131, allocations: 0.6763 MB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1312, allocations: 86.5 kB / 337.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007368/0.1319, allocations: 0.8037 MB / 338.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.132, allocations: 38.56 kB / 338.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.132, allocations: 0 / 338.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003059/0.1323, allocations: 126 kB / 338.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.1324, allocations: 55.41 kB / 338.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.1325, allocations: 117.9 kB / 338.7 MB, free: 9.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1325, allocations: 25.7 kB / 338.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1326, allocations: 107.9 kB / 338.8 MB, free: 9.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.1326, allocations: 39.73 kB / 338.9 MB, free: 9.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-06/0.1327, allocations: 8 kB / 338.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1328, allocations: 318.8 kB / 339.2 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.1328, allocations: 23.97 kB / 339.2 MB, free: 8.738 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.1329, allocations: 73.02 kB / 339.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.133, allocations: 40.25 kB / 339.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.133, allocations: 0 / 339.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000204/0.1332, allocations: 137.4 kB / 339.5 MB, free: 8.469 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1333, allocations: 4 kB / 339.5 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.1333, allocations: 4 kB / 339.5 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1333, allocations: 0 / 339.5 MB, free: 8.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1334, allocations: 43.84 kB / 339.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1335, allocations: 160 / 339.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.1335, allocations: 19.84 kB / 339.5 MB, free: 8.398 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.1336, allocations: 8 kB / 339.5 MB, free: 8.391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.404e-05/0.1337, allocations: 117.8 kB / 339.6 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.1337, allocations: 11.86 kB / 339.7 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.134, allocations: 146.2 kB / 339.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.134, allocations: 0 / 339.8 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.134, allocations: 3.984 kB / 339.8 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.134, allocations: 4 kB / 339.8 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.1345, allocations: 394.3 kB / 340.2 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1345, allocations: 4 kB / 340.2 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.1346, allocations: 19.98 kB / 340.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1346, allocations: 0 / 340.2 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1346, allocations: 11.94 kB / 340.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1346, allocations: 0 / 340.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1346, allocations: 4 kB / 340.2 MB, free: 7.621 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.1348, allocations: 203.9 kB / 340.4 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.829e-05/0.1349, allocations: 104.9 kB / 340.5 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1349, allocations: 4 kB / 340.5 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.135, allocations: 3.938 kB / 340.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.1351, allocations: 7.984 kB / 340.6 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1351, allocations: 12 kB / 340.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.1352, allocations: 95.27 kB / 340.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1352, allocations: 0 / 340.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1355, allocations: 52 kB / 340.7 MB, free: 7.113 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003087/0.1358, allocations: 167.1 kB / 340.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.136, allocations: 84.03 kB / 341 MB, free: 6.855 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.136, allocations: 4.25 kB / 341 MB, free: 6.852 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.1361, allocations: 39.98 kB / 341 MB, free: 6.812 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1364, allocations: 39.89 kB / 341 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.1369, allocations: 298.6 kB / 341.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1372, allocations: 0.6969 MB / 342 MB, free: 5.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.1374, allocations: 37 kB / 342.1 MB, free: 5.691 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.1374, allocations: 23.42 kB / 342.1 MB, free: 5.668 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1374, allocations: 4 kB / 342.1 MB, free: 5.664 MB / 286.1 MB Notification: Performance of Templates: time 0.005565/0.143, allocations: 2.298 MB / 344.4 MB, free: 3.375 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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