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.001347/0.001347, allocations: 113.4 kB / 17.28 MB, free: 6.207 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.001372/0.001372, allocations: 193.3 kB / 18.2 MB, free: 5.289 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.504/1.504, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.00116/0.00116, allocations: 44.41 kB / 280.2 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1186, allocations: 46.64 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.0276/0.1462, allocations: 24.52 MB / 351.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.1495, allocations: 2.492 MB / 353.8 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1497, allocations: 4 kB / 353.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.1502, allocations: 139.2 kB / 353.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005888/0.1508, allocations: 298.5 kB / 354.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002215/0.1531, allocations: 0.9083 MB / 355.1 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1542, allocations: 0.9068 MB / 356.1 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1544, allocations: 92.69 kB / 356.1 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004658/0.159, allocations: 3.055 MB / 359.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.1595, allocations: 282.9 kB / 359.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.1595, allocations: 32 kB / 359.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.1602, allocations: 247.6 kB / 359.7 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1603, allocations: 95.66 kB / 359.8 MB, free: 3.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.1605, allocations: 199.2 kB / 360 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007732/0.1613, allocations: 0.5726 MB / 360.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.1613, allocations: 0 / 360.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1614, allocations: 4 kB / 360.6 MB, free: 2.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1614, allocations: 0 / 360.6 MB, free: 2.836 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.00106/0.1624, allocations: 0.6198 MB / 361.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.1625, allocations: 11.89 kB / 361.2 MB, free: 2.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.1629, allocations: 56.55 kB / 361.3 MB, free: 2.102 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.1633, allocations: 287.7 kB / 361.6 MB, free: 1.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1633, allocations: 20.94 kB / 361.6 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.1634, allocations: 28.38 kB / 361.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.164, allocations: 334.4 kB / 362 MB, free: 1.371 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.164, allocations: 4 kB / 362 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.164, allocations: 16 kB / 362 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.1641, allocations: 4 kB / 362 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1644, allocations: 193.5 kB / 362.2 MB, free: 1.156 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.002486/0.1669, allocations: 2.115 MB / 364.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.1672, allocations: 182.5 kB / 364.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.1674, allocations: 80.78 kB / 364.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.1676, allocations: 259.5 kB / 364.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1677, allocations: 42.56 kB / 364.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.1677, allocations: 0 / 364.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002732/0.1704, allocations: 1.019 MB / 365.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1705, allocations: 55.41 kB / 365.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1707, allocations: 258.6 kB / 366.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.1708, allocations: 33.7 kB / 366.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1709, allocations: 188.2 kB / 366.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.171, allocations: 106.4 kB / 366.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1711, allocations: 70.08 kB / 366.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1713, allocations: 342.7 kB / 366.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1714, allocations: 84.66 kB / 367 MB, free: 11.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.1717, allocations: 182.5 kB / 367.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.172, allocations: 281.2 kB / 367.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.172, allocations: 0 / 367.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005469/0.1726, allocations: 381.6 kB / 367.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1726, allocations: 8 kB / 367.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1726, allocations: 0 / 367.8 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.173, allocations: 101 kB / 367.9 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.1733, allocations: 67.91 kB / 368 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005958/0.1739, allocations: 0.6499 MB / 368.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1741, allocations: 19.98 kB / 368.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1742, allocations: 16 kB / 368.7 MB, free: 10.14 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.0001911/0.1744, allocations: 157.8 kB / 368.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.1745, allocations: 39.55 kB / 368.8 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007227/0.1752, allocations: 365 kB / 369.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1752, allocations: 4 kB / 369.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.1752, allocations: 4 kB / 369.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006024/0.1758, allocations: 0.5592 MB / 369.8 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.177, allocations: 0.7467 MB / 370.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.177, allocations: 0 / 370.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1772, allocations: 31.98 kB / 370.5 MB, free: 8.059 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/0.1777, allocations: 104.8 kB / 370.6 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.1777, allocations: 11.98 kB / 370.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004904/0.1782, allocations: 0.6419 MB / 371.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1782, allocations: 0 / 371.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.1789, allocations: 485.5 kB / 371.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.179, allocations: 104.8 kB / 371.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.1791, allocations: 4 kB / 371.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1793, allocations: 16 kB / 371.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1794, allocations: 19.97 kB / 371.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.1794, allocations: 15.98 kB / 371.9 MB, free: 6.598 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.1797, allocations: 198 kB / 372.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1797, allocations: 0 / 372.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004755/0.1801, allocations: 115.9 kB / 372.2 MB, free: 6.293 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.0002677/0.1804, allocations: 143.1 kB / 372.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.181, allocations: 255.6 kB / 372.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.181, allocations: 0 / 372.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.1812, allocations: 119.7 kB / 372.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.1823, allocations: 169.3 kB / 372.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.1836, allocations: 0.7446 MB / 373.7 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.184, allocations: 0.7606 MB / 374.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.1844, allocations: 67.16 kB / 374.5 MB, free: 3.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.1845, allocations: 31.44 kB / 374.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1845, allocations: 4 kB / 374.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of Templates: time 0.1887/0.3732, allocations: 6.955 MB / 381.5 MB, free: 56.92 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","../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