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.001281/0.001281, allocations: 104.5 kB / 17.58 MB, free: 5.426 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.001434/0.001435, allocations: 191.9 kB / 18.51 MB, free: 4.512 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.373/1.373, 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.001484/0.001484, allocations: 48.14 kB / 280.7 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08733, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.0299/0.1173, allocations: 24.58 MB / 351.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.1208, allocations: 2.495 MB / 354.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.121, allocations: 4 kB / 354.4 MB, free: 9.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.1216, allocations: 170.9 kB / 354.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.1221, allocations: 310.2 kB / 354.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1243, allocations: 0.9741 MB / 355.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009012/0.1253, allocations: 0.899 MB / 356.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.1255, allocations: 100.7 kB / 356.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.1299, allocations: 2.72 MB / 359.5 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.1303, allocations: 274.9 kB / 359.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.1303, allocations: 32 kB / 359.8 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.1309, allocations: 247.6 kB / 360.1 MB, free: 3.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.131, allocations: 91.72 kB / 360.2 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.1312, allocations: 191.2 kB / 360.3 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.1318, allocations: 0.5765 MB / 360.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1318, allocations: 0 / 360.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1318, allocations: 0 / 360.9 MB, free: 2.703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1319, allocations: 3.938 kB / 360.9 MB, free: 2.699 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.0007818/0.1326, allocations: 0.6237 MB / 361.6 MB, free: 2.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1327, allocations: 11.89 kB / 361.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/0.133, allocations: 52.55 kB / 361.6 MB, free: 1.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1334, allocations: 295.7 kB / 361.9 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1334, allocations: 16.94 kB / 361.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.1335, allocations: 32.31 kB / 362 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.1339, allocations: 334.4 kB / 362.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.134, allocations: 0 / 362.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.134, allocations: 16 kB / 362.3 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.134, allocations: 8 kB / 362.3 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.1343, allocations: 189.5 kB / 362.5 MB, free: 1.02 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.001855/0.1362, allocations: 2.115 MB / 364.6 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1365, allocations: 186.6 kB / 364.8 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1366, allocations: 88.77 kB / 364.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/0.1368, allocations: 247.3 kB / 365.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1369, allocations: 34.56 kB / 365.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.1369, allocations: 0 / 365.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002375/0.1392, allocations: 1.022 MB / 366.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.1393, allocations: 59.41 kB / 366.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.1396, allocations: 266.6 kB / 366.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1396, allocations: 29.7 kB / 366.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1397, allocations: 180.2 kB / 366.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.1398, allocations: 106.5 kB / 366.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.65e-05/0.1399, allocations: 74 kB / 366.9 MB, free: 12.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.14, allocations: 342.8 kB / 367.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1402, allocations: 88.7 kB / 367.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1404, allocations: 170.6 kB / 367.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.1408, allocations: 281.2 kB / 367.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1408, allocations: 8 kB / 367.7 MB, free: 11.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006332/0.1415, allocations: 381.5 kB / 368.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1415, allocations: 8 kB / 368.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1415, allocations: 7.938 kB / 368.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003844/0.1419, allocations: 97.09 kB / 368.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1421, allocations: 63.91 kB / 368.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004709/0.1426, allocations: 0.6576 MB / 368.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1428, allocations: 4 kB / 368.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.1428, allocations: 24.06 kB / 369 MB, free: 10.01 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.0001444/0.143, allocations: 157.7 kB / 369.1 MB, free: 9.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.1431, allocations: 31.66 kB / 369.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.1436, allocations: 372.9 kB / 369.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1437, allocations: 0 / 369.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1437, allocations: 0 / 369.5 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004646/0.1441, allocations: 0.5593 MB / 370.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009703/0.1451, allocations: 0.7399 MB / 370.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1451, allocations: 0 / 370.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.1453, allocations: 35.98 kB / 370.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.1457, allocations: 104.8 kB / 371 MB, free: 7.828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1458, allocations: 4 kB / 371 MB, free: 7.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004698/0.1462, allocations: 0.642 MB / 371.6 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1463, allocations: 8.062 kB / 371.6 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.1469, allocations: 0.4895 MB / 372.1 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.147, allocations: 96.86 kB / 372.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.1471, allocations: 8.125 kB / 372.2 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.1473, allocations: 11.98 kB / 372.2 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1474, allocations: 15.98 kB / 372.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.1474, allocations: 15.98 kB / 372.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1476, allocations: 198 kB / 372.4 MB, free: 6.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1476, allocations: 0 / 372.4 MB, free: 6.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.148, allocations: 108 kB / 372.5 MB, free: 6.172 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.0002311/0.1482, allocations: 159.1 kB / 372.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.1487, allocations: 251.8 kB / 372.9 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1487, allocations: 3.938 kB / 372.9 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.149, allocations: 119.6 kB / 373.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.1499, allocations: 173.2 kB / 373.2 MB, free: 5.473 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1511, allocations: 0.6353 MB / 373.9 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.1514, allocations: 0.7606 MB / 374.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002803/0.1517, allocations: 63.17 kB / 374.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1518, allocations: 27.44 kB / 374.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1518, allocations: 4 kB / 374.7 MB, free: 3.926 MB / 318.1 MB Notification: Performance of Templates: time 0.1531/0.3049, allocations: 6.992 MB / 381.7 MB, free: 56.24 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 -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/jenkins/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/jenkins/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