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.001259/0.001259, allocations: 111.6 kB / 17.29 MB, free: 6.188 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.001311/0.001311, allocations: 193.3 kB / 18.21 MB, free: 5.266 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.377/1.377, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 51.42 kB / 300.8 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1096, allocations: 49.44 MB / 350.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.0069/0.1166, allocations: 4.899 MB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000877/0.1175, allocations: 0.6231 MB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.1176, allocations: 0 / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1178, allocations: 27.83 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.1193, allocations: 0.5297 MB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1196, allocations: 97.44 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.1198, allocations: 179.3 kB / 356.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.1198, allocations: 8 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.121, allocations: 0.7092 MB / 357.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1211, allocations: 55.77 kB / 357.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1212, allocations: 8 kB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.1226, allocations: 0.9633 MB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.1227, allocations: 23.91 kB / 358.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.1227, allocations: 43.86 kB / 358.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1231, allocations: 179.6 kB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1231, allocations: 4 kB / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1231, allocations: 0 / 358.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.1231, allocations: 0 / 358.6 MB, free: 12.38 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004971/0.1236, allocations: 415.2 kB / 359 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1237, allocations: 12.03 kB / 359 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.1241, allocations: 32.81 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1243, allocations: 200.2 kB / 359.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1243, allocations: 4.359 kB / 359.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1243, allocations: 19.94 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1246, allocations: 135.8 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1246, allocations: 0 / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1246, allocations: 0 / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1246, allocations: 4 kB / 359.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.1248, allocations: 111.8 kB / 359.5 MB, free: 11.36 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.0007185/0.1255, allocations: 0.6721 MB / 360.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1257, allocations: 86.48 kB / 360.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.1257, allocations: 37.11 kB / 360.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006117/0.1264, allocations: 0.8115 MB / 361.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1264, allocations: 38.55 kB / 361.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.1264, allocations: 0 / 361.1 MB, free: 9.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002758/0.1267, allocations: 125.7 kB / 361.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.1267, allocations: 59.28 kB / 361.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.1268, allocations: 113.8 kB / 361.4 MB, free: 9.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1269, allocations: 29.7 kB / 361.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.1269, allocations: 111.8 kB / 361.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.127, allocations: 43.39 kB / 361.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.127, allocations: 41.61 kB / 361.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.1271, allocations: 314.8 kB / 361.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.1272, allocations: 23.98 kB / 362 MB, free: 8.543 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.151e-05/0.1273, allocations: 69.12 kB / 362 MB, free: 8.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1274, allocations: 105.1 kB / 362.1 MB, free: 8.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1274, allocations: 4 kB / 362.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002134/0.1277, allocations: 139.7 kB / 362.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1277, allocations: 4 kB / 362.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1277, allocations: 4 kB / 362.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1277, allocations: 7.875 kB / 362.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1278, allocations: 35.97 kB / 362.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1278, allocations: 0 / 362.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.1279, allocations: 11.91 kB / 362.3 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1279, allocations: 8 kB / 362.3 MB, free: 8.121 MB / 302.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 9.744e-05/0.128, allocations: 133.8 kB / 362.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.1281, allocations: 8.281 kB / 362.5 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.1284, allocations: 142 kB / 362.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1284, allocations: 0 / 362.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1284, allocations: 0 / 362.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1284, allocations: 0 / 362.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.1288, allocations: 398.3 kB / 363 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1289, allocations: 3.938 kB / 363 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.1289, allocations: 27.92 kB / 363 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.129, allocations: 7.984 kB / 363 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.129, allocations: 0 / 363 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.129, allocations: 0 / 363 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.129, allocations: 0 / 363 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1292, allocations: 211.2 kB / 363.3 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.1292, allocations: 100.9 kB / 363.4 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1293, allocations: 4 kB / 363.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.1294, allocations: 8 kB / 363.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.1294, allocations: 7.984 kB / 363.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1294, allocations: 4 kB / 363.4 MB, free: 6.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.1295, allocations: 91.27 kB / 363.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1295, allocations: 0 / 363.5 MB, free: 6.895 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1298, allocations: 56 kB / 363.5 MB, free: 6.84 MB / 302.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.0003296/0.1302, allocations: 179 kB / 363.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1304, allocations: 83.91 kB / 363.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1304, allocations: 0 / 363.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.396e-05/0.1304, allocations: 43.86 kB / 363.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.1309, allocations: 55.53 kB / 363.9 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.1313, allocations: 293.2 kB / 364.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1316, allocations: 0.6928 MB / 364.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.1316, allocations: 19.44 kB / 364.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1317, allocations: 0 / 364.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of Templates: time 0.003876/0.1355, allocations: 2.182 MB / 367.1 MB, free: 3.242 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/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