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.001188/0.001188, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001246/0.001247, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001197/0.001197, allocations: 51.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08369, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02548/0.1092, allocations: 24.59 MB / 353.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1122, allocations: 2.495 MB / 355.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1125, allocations: 7.938 kB / 355.8 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.1129, allocations: 155 kB / 356 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.1135, allocations: 326.2 kB / 356.3 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.1156, allocations: 0.9664 MB / 357.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008723/0.1165, allocations: 0.8914 MB / 358.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.1166, allocations: 96.69 kB / 358.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.1206, allocations: 2.728 MB / 361 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.1209, allocations: 278.9 kB / 361.2 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.121, allocations: 32 kB / 361.3 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005028/0.1215, allocations: 239.6 kB / 361.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1216, allocations: 99.66 kB / 361.6 MB, free: 2.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.1218, allocations: 195.2 kB / 361.8 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.1224, allocations: 0.5688 MB / 362.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1224, allocations: 0 / 362.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1224, allocations: 0 / 362.4 MB, free: 1.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1225, allocations: 0 / 362.4 MB, free: 1.977 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.000799/0.1233, allocations: 0.6315 MB / 363 MB, free: 1.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1233, allocations: 15.89 kB / 363 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.1237, allocations: 52.53 kB / 363.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.1241, allocations: 287.8 kB / 363.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1241, allocations: 24.94 kB / 363.4 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.1242, allocations: 24.38 kB / 363.4 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.1246, allocations: 330.4 kB / 363.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1247, allocations: 11.94 kB / 363.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.1247, allocations: 12 kB / 363.7 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1247, allocations: 8 kB / 363.7 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.125, allocations: 193.5 kB / 363.9 MB, free: 292 kB / 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.001878/0.1269, allocations: 2.111 MB / 366 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1272, allocations: 182.6 kB / 366.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1273, allocations: 92.7 kB / 366.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.1275, allocations: 247.5 kB / 366.6 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1275, allocations: 38.56 kB / 366.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.1276, allocations: 4 kB / 366.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002374/0.1299, allocations: 1.018 MB / 367.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.13, allocations: 55.41 kB / 367.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.1302, allocations: 270.5 kB / 367.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.1303, allocations: 29.7 kB / 368 MB, free: 11.85 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1304, allocations: 184.1 kB / 368.1 MB, free: 11.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.68e-05/0.1305, allocations: 106.5 kB / 368.2 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.1306, allocations: 70.06 kB / 368.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1307, allocations: 346.7 kB / 368.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.1308, allocations: 88.72 kB / 368.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.131, allocations: 166.6 kB / 368.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.1314, allocations: 285.1 kB / 369.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1314, allocations: 0 / 369.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005666/0.132, allocations: 381.6 kB / 369.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.132, allocations: 8 kB / 369.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.132, allocations: 4.297 kB / 369.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.1324, allocations: 92.8 kB / 369.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1327, allocations: 67.91 kB / 369.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004923/0.1332, allocations: 0.6576 MB / 370.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.1334, allocations: 8.031 kB / 370.4 MB, free: 9.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.1334, allocations: 20 kB / 370.4 MB, free: 9.281 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.1336, allocations: 165.8 kB / 370.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.1336, allocations: 35.59 kB / 370.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.1343, allocations: 365 kB / 371 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1343, allocations: 4 kB / 371 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1343, allocations: 0 / 371 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004852/0.1348, allocations: 0.5514 MB / 371.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1358, allocations: 0.744 MB / 372.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1358, allocations: 0 / 372.3 MB, free: 7.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.136, allocations: 35.92 kB / 372.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.1364, allocations: 100.8 kB / 372.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1365, allocations: 8 kB / 372.4 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004554/0.1369, allocations: 0.638 MB / 373 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1369, allocations: 3.938 kB / 373 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.1377, allocations: 493.4 kB / 373.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.86e-05/0.1377, allocations: 100.8 kB / 373.6 MB, free: 5.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.1378, allocations: 8 kB / 373.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.138, allocations: 15.94 kB / 373.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.1381, allocations: 15.97 kB / 373.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.1381, allocations: 15.98 kB / 373.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.1383, allocations: 202 kB / 373.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1383, allocations: 0 / 373.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.1387, allocations: 108 kB / 374 MB, free: 5.441 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002286/0.139, allocations: 151.1 kB / 374.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004769/0.1395, allocations: 244.3 kB / 374.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1395, allocations: 4.125 kB / 374.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.1398, allocations: 127.7 kB / 374.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/0.1406, allocations: 164.8 kB / 374.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1417, allocations: 0.639 MB / 375.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.142, allocations: 0.7606 MB / 376.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.1422, allocations: 67.12 kB / 376.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.1423, allocations: 39.41 kB / 376.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1423, allocations: 0 / 376.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of Templates: time 0.1377/0.28, allocations: 7 MB / 383.2 MB, free: 56.55 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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