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.001452/0.001452, allocations: 108.7 kB / 17.93 MB, free: 5.547 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.0018/0.0018, allocations: 197.8 kB / 18.86 MB, free: 4.625 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.418/1.418, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001152/0.001152, allocations: 55.92 kB / 280.8 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 46.63 MB / 327.4 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02962/0.1311, allocations: 24.52 MB / 352 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.1346, allocations: 2.488 MB / 354.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.135, allocations: 4 kB / 354.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.1356, allocations: 135.2 kB / 354.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006289/0.1362, allocations: 306.5 kB / 354.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.1384, allocations: 0.9122 MB / 355.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1394, allocations: 0.899 MB / 356.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1396, allocations: 104.7 kB / 356.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004523/0.1442, allocations: 3.048 MB / 359.9 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.1446, allocations: 286.9 kB / 360.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.1447, allocations: 32 kB / 360.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005619/0.1453, allocations: 247.6 kB / 360.4 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1454, allocations: 99.7 kB / 360.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.1456, allocations: 195.2 kB / 360.7 MB, free: 3.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.1461, allocations: 451 kB / 361.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1461, allocations: 0 / 361.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1461, allocations: 0 / 361.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1461, allocations: 0 / 361.1 MB, free: 2.965 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.0008253/0.147, allocations: 0.6276 MB / 361.8 MB, free: 2.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.147, allocations: 15.89 kB / 361.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003662/0.1474, allocations: 48.55 kB / 361.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1478, allocations: 287.7 kB / 362.1 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.1478, allocations: 28.88 kB / 362.1 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/0.1478, allocations: 24.38 kB / 362.2 MB, free: 1.855 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.1483, allocations: 342.4 kB / 362.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1484, allocations: 0 / 362.5 MB, free: 1.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.1484, allocations: 12 kB / 362.5 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1484, allocations: 8 kB / 362.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1487, allocations: 189.5 kB / 362.7 MB, free: 1.277 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.002124/0.1508, allocations: 2.115 MB / 364.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1511, allocations: 182.6 kB / 365 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1513, allocations: 88.77 kB / 365.1 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.1515, allocations: 247.3 kB / 365.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1515, allocations: 42.55 kB / 365.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.1515, allocations: 0 / 365.4 MB, free: 14.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002426/0.1539, allocations: 1.018 MB / 366.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.154, allocations: 55.41 kB / 366.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1543, allocations: 266.6 kB / 366.7 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1543, allocations: 37.64 kB / 366.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.1544, allocations: 180.2 kB / 366.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.065e-05/0.1545, allocations: 106.5 kB / 367 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.1546, allocations: 70.06 kB / 367.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1548, allocations: 338.8 kB / 367.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1549, allocations: 88.7 kB / 367.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1551, allocations: 178.6 kB / 367.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.1555, allocations: 273.1 kB / 367.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1555, allocations: 3.984 kB / 367.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000545/0.156, allocations: 385.6 kB / 368.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1561, allocations: 8 kB / 368.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1561, allocations: 0 / 368.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.1565, allocations: 97.09 kB / 368.4 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.1567, allocations: 67.91 kB / 368.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004994/0.1572, allocations: 0.6537 MB / 369.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1574, allocations: 16.02 kB / 369.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1575, allocations: 20 kB / 369.2 MB, free: 10.27 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.0001476/0.1576, allocations: 153.8 kB / 369.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.1577, allocations: 39.56 kB / 369.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.1583, allocations: 365 kB / 369.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.1583, allocations: 11.97 kB / 369.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1583, allocations: 0 / 369.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004986/0.1588, allocations: 0.5515 MB / 370.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/0.1598, allocations: 0.7399 MB / 371 MB, free: 8.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1598, allocations: 4 kB / 371 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.16, allocations: 31.97 kB / 371.1 MB, free: 8.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.1604, allocations: 108.7 kB / 371.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.1605, allocations: 8 kB / 371.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004621/0.1609, allocations: 0.6381 MB / 371.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1609, allocations: 4.062 kB / 371.8 MB, free: 7.402 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/0.1616, allocations: 489.5 kB / 372.3 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/0.1617, allocations: 104.8 kB / 372.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.1618, allocations: 8 kB / 372.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.162, allocations: 16.06 kB / 372.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1621, allocations: 15.97 kB / 372.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1621, allocations: 15.98 kB / 372.4 MB, free: 6.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1623, allocations: 194 kB / 372.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1623, allocations: 3.938 kB / 372.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1628, allocations: 119.9 kB / 372.8 MB, free: 6.414 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.0002502/0.163, allocations: 139.2 kB / 372.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.1635, allocations: 255.8 kB / 373.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1636, allocations: 0 / 373.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.1638, allocations: 128.3 kB / 373.3 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009568/0.1648, allocations: 168.6 kB / 373.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.166, allocations: 0.7776 MB / 374.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1664, allocations: 0.7606 MB / 375 MB, free: 4.129 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.1665, allocations: 35.42 kB / 375 MB, free: 4.094 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1665, allocations: 0 / 375 MB, free: 4.094 MB / 318.1 MB Notification: Performance of Templates: time 0.1494/0.3159, allocations: 6.405 MB / 381.4 MB, free: 56.63 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../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