Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 193.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 229.5 MB / 247.7 MB, free: 6.297 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007976/0.0007975, allocations: 93.75 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002303/0.0002304, allocations: 4 kB / 360.6 MB, free: 8.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.174, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.004141/0.1782, allocations: 6.554 MB / 418.6 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006572/0.1789, allocations: 1.21 MB / 419.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.1789, allocations: 4 kB / 419.8 MB, free: 17.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.1791, allocations: 27.83 kB / 419.8 MB, free: 17.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008816/0.18, allocations: 0.5258 MB / 420.4 MB, free: 16.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.1802, allocations: 91.81 kB / 420.5 MB, free: 16.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1804, allocations: 223.2 kB / 420.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.1804, allocations: 7.984 kB / 420.7 MB, free: 16.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008798/0.1813, allocations: 0.6313 MB / 421.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.1814, allocations: 51.83 kB / 421.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1814, allocations: 4 kB / 421.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1825, allocations: 0.8905 MB / 422.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1825, allocations: 23.86 kB / 422.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.1826, allocations: 73.48 kB / 422.3 MB, free: 14.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1829, allocations: 239.5 kB / 422.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1829, allocations: 0 / 422.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1829, allocations: 0 / 422.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.183, allocations: 0 / 422.6 MB, free: 14.71 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003286/0.1833, allocations: 407.3 kB / 423 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.1833, allocations: 8.031 kB / 423 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.1837, allocations: 36.81 kB / 423 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1838, allocations: 196.1 kB / 423.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1838, allocations: 8.375 kB / 423.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.1839, allocations: 15.94 kB / 423.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1841, allocations: 137 kB / 423.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1841, allocations: 4 kB / 423.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1841, allocations: 0 / 423.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1841, allocations: 4 kB / 423.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1843, allocations: 107.8 kB / 423.5 MB, free: 13.7 MB / 298.7 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.0005322/0.1848, allocations: 0.6646 MB / 424.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1849, allocations: 90.42 kB / 424.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.185, allocations: 36.84 kB / 424.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/0.1853, allocations: 0.8076 MB / 425.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1854, allocations: 38.56 kB / 425.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1854, allocations: 4 kB / 425.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002187/0.1856, allocations: 125.8 kB / 425.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.1856, allocations: 55.34 kB / 425.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.1857, allocations: 121.7 kB / 425.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.1857, allocations: 29.7 kB / 425.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.1857, allocations: 99.88 kB / 425.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1858, allocations: 47.36 kB / 425.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1858, allocations: 0 / 425.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.1858, allocations: 322.8 kB / 425.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.1859, allocations: 27.98 kB / 425.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.1859, allocations: 66.38 kB / 426 MB, free: 10.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.186, allocations: 105.1 kB / 426.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.186, allocations: 0 / 426.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001519/0.1862, allocations: 134 kB / 426.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1862, allocations: 8 kB / 426.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1862, allocations: 0 / 426.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1862, allocations: 7.938 kB / 426.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1863, allocations: 40.08 kB / 426.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1864, allocations: 8.359 kB / 426.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.1864, allocations: 11.84 kB / 426.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.1864, allocations: 4 kB / 426.3 MB, free: 10.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.1865, allocations: 125.7 kB / 426.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1865, allocations: 15.84 kB / 426.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.1868, allocations: 146.1 kB / 426.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1868, allocations: 3.938 kB / 426.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1868, allocations: 0 / 426.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1868, allocations: 4 kB / 426.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.1871, allocations: 394.3 kB / 427 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1871, allocations: 0 / 427 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.1872, allocations: 19.98 kB / 427 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1872, allocations: 4 kB / 427 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1872, allocations: 8 kB / 427 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1872, allocations: 0 / 427 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1872, allocations: 3.938 kB / 427 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1873, allocations: 203.4 kB / 427.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.1874, allocations: 100.9 kB / 427.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1874, allocations: 3.938 kB / 427.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.1875, allocations: 8 kB / 427.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1875, allocations: 7.984 kB / 427.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1875, allocations: 8 kB / 427.3 MB, free: 9.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.74e-05/0.1876, allocations: 91.27 kB / 427.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1876, allocations: 0 / 427.4 MB, free: 9.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000264/0.1879, allocations: 60 kB / 427.5 MB, free: 9.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002229/0.1881, allocations: 171.1 kB / 427.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.1882, allocations: 84.03 kB / 427.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1882, allocations: 0 / 427.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.1883, allocations: 39.92 kB / 427.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1887, allocations: 48.11 kB / 427.8 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.189, allocations: 288.9 kB / 428.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.971e-05/0.1891, allocations: 0.7083 MB / 428.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.1892, allocations: 32.78 kB / 428.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1892, allocations: 27.42 kB / 428.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1892, allocations: 0 / 428.9 MB, free: 7.762 MB / 298.7 MB Notification: Performance of Templates: time 0.004135/0.1934, allocations: 2.462 MB / 431.3 MB, free: 5.32 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches