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.0008793/0.0008794, allocations: 92.86 kB / 17.3 MB, free: 6.391 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.0007973/0.0007974, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.552/1.552, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0005149/0.0005149, allocations: 8 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 47.59 MB / 329 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.03139/0.1522, allocations: 24.43 MB / 353.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.1567, allocations: 2.511 MB / 355.9 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.1573, allocations: 4 kB / 355.9 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.1581, allocations: 135.2 kB / 356.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.1594, allocations: 314.5 kB / 356.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.1624, allocations: 0.881 MB / 357.2 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.1644, allocations: 1.351 MB / 358.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.1647, allocations: 72.69 kB / 358.7 MB, free: 5.945 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/0.1703, allocations: 2.95 MB / 361.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007134/0.1711, allocations: 282.8 kB / 361.9 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.1712, allocations: 16 kB / 361.9 MB, free: 2.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008491/0.172, allocations: 219.6 kB / 362.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.1722, allocations: 83.7 kB / 362.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.1726, allocations: 200.9 kB / 362.4 MB, free: 2.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.1736, allocations: 0.5569 MB / 363 MB, free: 1.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1736, allocations: 0 / 363 MB, free: 1.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1736, allocations: 0 / 363 MB, free: 1.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1736, allocations: 0 / 363 MB, free: 1.637 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.001098/0.1747, allocations: 0.5497 MB / 363.5 MB, free: 1.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1748, allocations: 8.031 kB / 363.5 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005351/0.1753, allocations: 48.55 kB / 363.6 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.1758, allocations: 299.5 kB / 363.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1759, allocations: 16.94 kB / 363.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.1759, allocations: 28.38 kB / 363.9 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.1765, allocations: 338.4 kB / 364.2 MB, free: 248 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.1765, allocations: 4 kB / 364.2 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.1766, allocations: 12 kB / 364.2 MB, free: 232 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1766, allocations: 8 kB / 364.3 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.1769, allocations: 189.5 kB / 364.4 MB, free: 32 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.002631/0.1796, allocations: 2.115 MB / 366.6 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.18, allocations: 190.5 kB / 366.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.1801, allocations: 84.77 kB / 366.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.1804, allocations: 259.5 kB / 367.1 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.1804, allocations: 34.56 kB / 367.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.355e-06/0.1804, allocations: 0 / 367.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.002881/0.1833, allocations: 1.019 MB / 368.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1834, allocations: 59.41 kB / 368.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.1837, allocations: 266.5 kB / 368.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.1837, allocations: 29.7 kB / 368.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1839, allocations: 188.1 kB / 368.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.578e-05/0.184, allocations: 98.55 kB / 368.8 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.184, allocations: 33.7 kB / 368.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1842, allocations: 342.8 kB / 369.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.1844, allocations: 88.66 kB / 369.2 MB, free: 10.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.1846, allocations: 174.6 kB / 369.4 MB, free: 10.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.185, allocations: 281.2 kB / 369.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.185, allocations: 0 / 369.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006004/0.1856, allocations: 381.6 kB / 370 MB, free: 9.941 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1856, allocations: 7.984 kB / 370 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1856, allocations: 4 kB / 370 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.1861, allocations: 97.09 kB / 370.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1864, allocations: 71.84 kB / 370.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006162/0.187, allocations: 0.6537 MB / 370.9 MB, free: 9.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1873, allocations: 12 kB / 370.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.1873, allocations: 24.06 kB / 370.9 MB, free: 9.047 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.0002222/0.1875, allocations: 157.7 kB / 371 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.1876, allocations: 35.56 kB / 371.1 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007129/0.1883, allocations: 369 kB / 371.4 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.1884, allocations: 4 kB / 371.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1884, allocations: 0 / 371.4 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005437/0.1889, allocations: 0.5592 MB / 372 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.1901, allocations: 0.743 MB / 372.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1902, allocations: 0 / 372.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1903, allocations: 31.98 kB / 372.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/0.1909, allocations: 116.7 kB / 372.9 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.1909, allocations: 8 kB / 372.9 MB, free: 6.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005205/0.1914, allocations: 0.6342 MB / 373.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1914, allocations: 0 / 373.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008014/0.1923, allocations: 0.4896 MB / 374 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1924, allocations: 104.8 kB / 374.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.1924, allocations: 11.94 kB / 374.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.1927, allocations: 23.95 kB / 374.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1928, allocations: 11.98 kB / 374.2 MB, free: 5.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1928, allocations: 19.98 kB / 374.2 MB, free: 5.477 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.193, allocations: 198 kB / 374.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.193, allocations: 0 / 374.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.1935, allocations: 115.9 kB / 374.5 MB, free: 5.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.0003101/0.1938, allocations: 139.2 kB / 374.6 MB, free: 5.027 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005544/0.1944, allocations: 243.7 kB / 374.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/0.1944, allocations: 0 / 374.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.1947, allocations: 116.6 kB / 375 MB, free: 4.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.1958, allocations: 168.4 kB / 375.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1972, allocations: 0.7982 MB / 376 MB, free: 3.688 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1975, allocations: 0.7648 MB / 376.7 MB, free: 2.898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.1979, allocations: 71.2 kB / 376.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.198, allocations: 31.42 kB / 376.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.198, allocations: 0 / 376.8 MB, free: 2.797 MB / 318.1 MB Notification: Performance of Templates: time 0.1937/0.3917, allocations: 6.656 MB / 383.5 MB, free: 55.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/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