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.001286/0.001286, allocations: 103.3 kB / 18.35 MB, free: 4.516 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.001132/0.001132, allocations: 188 kB / 19.29 MB, free: 3.586 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.285/1.285, 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.001252/0.001252, allocations: 55.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08319, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02555/0.1088, allocations: 24.58 MB / 353.3 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1119, allocations: 2.503 MB / 355.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1121, allocations: 7.938 kB / 355.8 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004804/0.1126, allocations: 155 kB / 356 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.1131, allocations: 326.2 kB / 356.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.1151, allocations: 0.9664 MB / 357.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.116, allocations: 0.8992 MB / 358.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.1162, allocations: 92.69 kB / 358.3 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003854/0.1201, allocations: 2.724 MB / 361 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1205, allocations: 278.9 kB / 361.3 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.1205, allocations: 28 kB / 361.3 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.121, allocations: 235.7 kB / 361.5 MB, free: 2.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1211, allocations: 99.7 kB / 361.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.1214, allocations: 195.2 kB / 361.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.122, allocations: 0.5765 MB / 362.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.122, allocations: 0 / 362.4 MB, free: 1.984 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.122, allocations: 3.938 kB / 362.4 MB, free: 1.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.122, allocations: 4 kB / 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.0007926/0.1228, allocations: 0.6199 MB / 363 MB, free: 1.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1229, allocations: 15.89 kB / 363 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003817/0.1232, allocations: 48.55 kB / 363.1 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.1237, allocations: 303.7 kB / 363.4 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.1237, allocations: 20.94 kB / 363.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.1238, allocations: 24.38 kB / 363.4 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.1243, allocations: 334.4 kB / 363.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1243, allocations: 3.938 kB / 363.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.1244, allocations: 24 kB / 363.8 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1244, allocations: 4 kB / 363.8 MB, free: 488 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1248, allocations: 193.5 kB / 364 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.002086/0.1269, allocations: 2.108 MB / 366.1 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.1272, allocations: 186.5 kB / 366.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1273, allocations: 80.78 kB / 366.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.1275, allocations: 255.3 kB / 366.6 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1276, allocations: 42.5 kB / 366.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.1276, allocations: 0 / 366.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002424/0.13, allocations: 1.015 MB / 367.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1301, allocations: 59.41 kB / 367.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1303, allocations: 262.5 kB / 367.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.1304, allocations: 37.69 kB / 368 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1305, allocations: 180.2 kB / 368.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.1306, allocations: 106.4 kB / 368.3 MB, free: 11.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1307, allocations: 66.08 kB / 368.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1308, allocations: 346.7 kB / 368.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.131, allocations: 84.72 kB / 368.7 MB, free: 11.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.1312, allocations: 170.6 kB / 368.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.1316, allocations: 285.2 kB / 369.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1316, allocations: 0 / 369.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005713/0.1322, allocations: 377.6 kB / 369.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1322, allocations: 12.25 kB / 369.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1322, allocations: 7.984 kB / 369.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/0.1326, allocations: 96.72 kB / 369.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.1329, allocations: 67.91 kB / 369.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/0.1334, allocations: 0.6537 MB / 370.4 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1336, allocations: 8 kB / 370.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.1337, allocations: 24.06 kB / 370.4 MB, free: 9.285 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.0001607/0.1338, allocations: 157.7 kB / 370.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1339, allocations: 31.66 kB / 370.6 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.1345, allocations: 372.9 kB / 371 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1345, allocations: 4 kB / 371 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1346, allocations: 3.984 kB / 371 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005238/0.1351, allocations: 0.5592 MB / 371.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1362, allocations: 0.7284 MB / 372.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1362, allocations: 4 kB / 372.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1363, allocations: 39.91 kB / 372.3 MB, free: 7.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/0.1368, allocations: 100.8 kB / 372.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1369, allocations: 4 kB / 372.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005611/0.1374, allocations: 0.6458 MB / 373.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1374, allocations: 0 / 373.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.1382, allocations: 489.4 kB / 373.5 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.1382, allocations: 100.8 kB / 373.6 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.1383, allocations: 12 kB / 373.6 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.1385, allocations: 8 kB / 373.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1386, allocations: 16.05 kB / 373.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.1386, allocations: 19.92 kB / 373.7 MB, free: 5.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.1388, allocations: 201.9 kB / 373.9 MB, free: 5.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1388, allocations: 4 kB / 373.9 MB, free: 5.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005248/0.1394, allocations: 104 kB / 374 MB, free: 5.449 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.0002559/0.1396, allocations: 147.1 kB / 374.1 MB, free: 5.297 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.1401, allocations: 256.2 kB / 374.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1402, allocations: 0 / 374.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.1404, allocations: 123.7 kB / 374.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.1413, allocations: 168.9 kB / 374.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1424, allocations: 0.6313 MB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1427, allocations: 0.7645 MB / 376.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.143, allocations: 63.12 kB / 376.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.1431, allocations: 35.42 kB / 376.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1431, allocations: 0 / 376.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of Templates: time 0.1495/0.2926, allocations: 7.004 MB / 383.2 MB, free: 57.16 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 cvode -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