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.001075/0.001074, allocations: 104.5 kB / 17.58 MB, free: 5.441 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.001281/0.001281, allocations: 191.9 kB / 18.51 MB, free: 4.523 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.458/1.458, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001555/0.001555, allocations: 47.92 kB / 280.6 MB, free: 3.195 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09628/0.09785, allocations: 46.64 MB / 327.3 MB, free: 4.492 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01066/0.1086, allocations: 7.754 MB / 335 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.1095, allocations: 0.6232 MB / 335.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.1097, allocations: 0 / 335.7 MB, free: 12.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.1099, allocations: 35.75 kB / 335.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.1115, allocations: 0.58 MB / 336.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1117, allocations: 87.86 kB / 336.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.112, allocations: 183.2 kB / 336.5 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1121, allocations: 12 kB / 336.5 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.1131, allocations: 0.6042 MB / 337.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1132, allocations: 51.77 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1133, allocations: 4 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.1146, allocations: 0.8543 MB / 338.1 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.008e-05/0.1147, allocations: 27.91 kB / 338.1 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.1147, allocations: 43.8 kB / 338.1 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.1152, allocations: 231.5 kB / 338.4 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1152, allocations: 4 kB / 338.4 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1152, allocations: 0 / 338.4 MB, free: 9.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1152, allocations: 0 / 338.4 MB, free: 9.344 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.0005512/0.1158, allocations: 435.1 kB / 338.8 MB, free: 8.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1158, allocations: 11.97 kB / 338.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.1162, allocations: 32.81 kB / 338.8 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.1164, allocations: 184.4 kB / 339 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1165, allocations: 8.375 kB / 339 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1165, allocations: 4.375 kB / 339 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1167, allocations: 145.1 kB / 339.2 MB, free: 8.438 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1168, allocations: 4 kB / 339.2 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1168, allocations: 4 kB / 339.2 MB, free: 8.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1168, allocations: 4 kB / 339.2 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.117, allocations: 107.8 kB / 339.3 MB, free: 8.32 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.0007184/0.1177, allocations: 0.6721 MB / 339.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1179, allocations: 94.42 kB / 340 MB, free: 7.473 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.1179, allocations: 32.86 kB / 340.1 MB, free: 7.438 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/0.1186, allocations: 0.8076 MB / 340.9 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.1186, allocations: 38.56 kB / 340.9 MB, free: 6.398 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1186, allocations: 0 / 340.9 MB, free: 6.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002872/0.1189, allocations: 121.7 kB / 341 MB, free: 6.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.119, allocations: 59.34 kB / 341.1 MB, free: 6.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.1191, allocations: 121.8 kB / 341.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1191, allocations: 25.7 kB / 341.2 MB, free: 6.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.1191, allocations: 99.89 kB / 341.3 MB, free: 5.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1192, allocations: 47.28 kB / 341.4 MB, free: 5.895 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.1192, allocations: 41.61 kB / 341.4 MB, free: 5.848 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1194, allocations: 322.8 kB / 341.7 MB, free: 5.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.1194, allocations: 27.92 kB / 341.8 MB, free: 5.496 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.1195, allocations: 69.12 kB / 341.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1197, allocations: 105.3 kB / 341.9 MB, free: 5.289 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1197, allocations: 0 / 341.9 MB, free: 5.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002209/0.1199, allocations: 137.5 kB / 342.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1199, allocations: 15.05 kB / 342.1 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1199, allocations: 160 / 342.1 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.12, allocations: 8 kB / 342.1 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1201, allocations: 27.98 kB / 342.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1201, allocations: 7.938 kB / 342.1 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.81e-05/0.1201, allocations: 15.84 kB / 342.1 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.1202, allocations: 8.375 kB / 342.2 MB, free: 5.07 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.998e-05/0.1203, allocations: 121.8 kB / 342.3 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.1203, allocations: 4 kB / 342.3 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.1206, allocations: 146.5 kB / 342.4 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1206, allocations: 4 kB / 342.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1206, allocations: 7.875 kB / 342.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1207, allocations: 0 / 342.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1211, allocations: 386.5 kB / 342.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1211, allocations: 4 kB / 342.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.1212, allocations: 31.92 kB / 342.8 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1213, allocations: 7.938 kB / 342.8 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1213, allocations: 4 kB / 342.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1213, allocations: 0 / 342.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1213, allocations: 0 / 342.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.1215, allocations: 203.5 kB / 343.1 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.1216, allocations: 96.94 kB / 343.1 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1216, allocations: 0 / 343.1 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.1217, allocations: 4 kB / 343.1 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.1217, allocations: 15.98 kB / 343.2 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1218, allocations: 4 kB / 343.2 MB, free: 3.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.01e-05/0.1218, allocations: 91.27 kB / 343.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1218, allocations: 0 / 343.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003364/0.1222, allocations: 59.94 kB / 343.3 MB, free: 3.801 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.000333/0.1225, allocations: 187.3 kB / 343.5 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1227, allocations: 84.03 kB / 343.6 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1227, allocations: 0 / 343.6 MB, free: 3.523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.1228, allocations: 43.92 kB / 343.6 MB, free: 3.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.1232, allocations: 43.88 kB / 343.7 MB, free: 3.438 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.1236, allocations: 235.5 kB / 343.9 MB, free: 3.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1239, allocations: 0.6967 MB / 344.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.124, allocations: 36.73 kB / 344.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.1241, allocations: 19.44 kB / 344.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1241, allocations: 0 / 344.6 MB, free: 2.402 MB / 286.1 MB Notification: Performance of Templates: time 0.005127/0.1292, allocations: 2.489 MB / 347.1 MB, free: 15.91 MB / 302.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches