Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008669/0.0008671, allocations: 94.23 kB / 16.98 MB, free: 6.398 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.0009552/0.0009553, allocations: 184 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004945, allocations: 12.55 kB / 409.5 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1824, allocations: 61.92 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0009096/0.1833, allocations: 213.2 kB / 471.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.186, allocations: 1.46 MB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.186, allocations: 4 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.186, allocations: 0 / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.854e-06/0.1861, allocations: 0 / 473.1 MB, free: 12.07 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices3‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1871, allocations: 187.3 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.1872, allocations: 7.922 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.1873, allocations: 3.984 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1873, allocations: 4 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.1873, allocations: 0 / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.103e-06/0.1873, allocations: 0 / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1885, allocations: 0.6481 MB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.1885, allocations: 4 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1886, allocations: 25.7 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.1892, allocations: 451.3 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1892, allocations: 3.938 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1892, allocations: 0 / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1892, allocations: 7.938 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006427/0.1899, allocations: 361.1 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.1899, allocations: 8.031 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.19, allocations: 0 / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1901, allocations: 159.1 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1901, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1901, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1902, allocations: 37.66 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1903, allocations: 3.984 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1903, allocations: 7.938 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1903, allocations: 0 / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.1903, allocations: 4 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.1906, allocations: 141.7 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.1906, allocations: 14.58 kB / 475.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.1906, allocations: 4.094 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.1907, allocations: 60.27 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1907, allocations: 4 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002223/0.1909, allocations: 71.28 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.191, allocations: 77.11 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.212e-05/0.191, allocations: 89.86 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1911, allocations: 25.7 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.1911, allocations: 80.14 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1911, allocations: 0 / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.1912, allocations: 0 / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.1914, allocations: 323 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.1914, allocations: 0 / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.1914, allocations: 3.984 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/0.1914, allocations: 29.7 kB / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1915, allocations: 0 / 475.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.333e-05/0.1915, allocations: 59.34 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.1916, allocations: 37.64 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1916, allocations: 0 / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1916, allocations: 3.953 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.364e-06/0.1916, allocations: 8.078 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1917, allocations: 0 / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1917, allocations: 0 / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1917, allocations: 0 / 476 MB, free: 8.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/0.1918, allocations: 140.1 kB / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/0.1918, allocations: 0 / 476.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.251e-05/0.1918, allocations: 3.125 kB / 476.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1918, allocations: 3.938 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1919, allocations: 7.953 kB / 476.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1919, allocations: 4 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.192, allocations: 149.7 kB / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.192, allocations: 0 / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.192, allocations: 0 / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.192, allocations: 0 / 476.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.192, allocations: 4 kB / 476.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.192, allocations: 4 kB / 476.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1921, allocations: 0 / 476.3 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1922, allocations: 106.6 kB / 476.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.1922, allocations: 81.11 kB / 476.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.1923, allocations: 0 / 476.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.1923, allocations: 0 / 476.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1923, allocations: 0 / 476.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1923, allocations: 3.984 kB / 476.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.1924, allocations: 83.23 kB / 476.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1924, allocations: 0 / 476.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000549/0.1929, allocations: 124 kB / 476.7 MB, free: 8.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008773/0.1938, allocations: 165.5 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.1939, allocations: 67.33 kB / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.194, allocations: 4.062 kB / 477 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.194, allocations: 59.34 kB / 477 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.1941, allocations: 3.938 kB / 477 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.1944, allocations: 74.75 kB / 477.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1948, allocations: 0.6731 MB / 477.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.518e-06/0.1948, allocations: 0 / 477.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.256e-05/0.1948, allocations: 7.438 kB / 477.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1948, allocations: 3.938 kB / 477.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of Templates: time 0.009632/0.2044, allocations: 4.145 MB / 481.9 MB, free: 2.805 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1)