Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009397, allocations: 94.25 kB / 17.35 MB, free: 6.375 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.0012/0.0012, allocations: 177.3 kB / 18.25 MB, free: 5.523 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.386/1.386, allocations: 223.3 MB / 242.3 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1866/0.1866, allocations: 44.25 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 11.22 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0008148/0.1394, allocations: 213.2 kB / 472.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.1428, allocations: 2.122 MB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1429, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.1429, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-06/0.1429, allocations: 0 / 474.6 MB, free: 10.99 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function ‘ModelicaTest.Math.Matrices2b‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.1453, allocations: 0.6436 MB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.52e-05/0.1453, allocations: 4 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.1454, allocations: 7.984 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.1454, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.002e-05/0.1454, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.5e-06/0.1454, allocations: 0 / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.1474, allocations: 1.389 MB / 476.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1474, allocations: 0 / 476.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.1474, allocations: 33.64 kB / 476.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1489, allocations: 1.544 MB / 478.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1489, allocations: 4 kB / 478.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1489, allocations: 0 / 478.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1489, allocations: 0 / 478.2 MB, free: 7.363 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.0005699/0.1495, allocations: 409.2 kB / 478.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1496, allocations: 12.03 kB / 478.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.1496, allocations: 0.9375 kB / 478.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.577e-05/0.1497, allocations: 160.4 kB / 478.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1497, allocations: 384 / 478.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1497, allocations: 12.06 kB / 478.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.489e-05/0.1498, allocations: 33.69 kB / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1498, allocations: 0 / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1498, allocations: 0 / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1498, allocations: 0 / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.1499, allocations: 0 / 478.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.15, allocations: 149.7 kB / 479 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.15, allocations: 18.58 kB / 479 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.1501, allocations: 20.81 kB / 479 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.1501, allocations: 0 / 479 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1501, allocations: 56.27 kB / 479.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1501, allocations: 0 / 479.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.1503, allocations: 67.34 kB / 479.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1503, allocations: 81.09 kB / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.577e-05/0.1504, allocations: 89.86 kB / 479.3 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1504, allocations: 29.83 kB / 479.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.1504, allocations: 80.14 kB / 479.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1505, allocations: 7.906 kB / 479.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.1505, allocations: 9.719 kB / 479.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.1506, allocations: 310.8 kB / 479.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-06/0.1506, allocations: 3.938 kB / 479.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.1506, allocations: 0 / 479.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.535e-05/0.1507, allocations: 64.33 kB / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1507, allocations: 4 kB / 479.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.454e-05/0.1507, allocations: 67.33 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/0.1508, allocations: 29.7 kB / 479.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1508, allocations: 3.938 kB / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1508, allocations: 0 / 479.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.1508, allocations: 4 kB / 479.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1508, allocations: 0 / 479.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.1508, allocations: 0 / 479.9 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1508, allocations: 0 / 479.9 MB, free: 5.402 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.151, allocations: 151.8 kB / 480 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.151, allocations: 3.938 kB / 480 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.151, allocations: 3.125 kB / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.151, allocations: 0 / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.151, allocations: 0 / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.151, allocations: 0 / 480.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1512, allocations: 145.7 kB / 480.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1512, allocations: 3.938 kB / 480.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-06/0.1512, allocations: 3.984 kB / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1512, allocations: 0 / 480.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1512, allocations: 7.984 kB / 480.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1512, allocations: 0 / 480.2 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1512, allocations: 4 kB / 480.2 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.405e-05/0.1513, allocations: 94.81 kB / 480.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.1514, allocations: 84.98 kB / 480.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.1514, allocations: 0 / 480.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.1514, allocations: 4 kB / 480.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.1514, allocations: 4.031 kB / 480.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1514, allocations: 0 / 480.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.303e-05/0.1514, allocations: 79.22 kB / 480.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 0 / 480.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007884/0.1522, allocations: 276 kB / 480.7 MB, free: 4.445 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 (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.001203/0.1535, allocations: 407.3 kB / 481.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.51e-05/0.1536, allocations: 59.39 kB / 481.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1536, allocations: 0 / 481.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.1536, allocations: 59.47 kB / 481.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.1538, allocations: 6.125 kB / 481.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001826/0.1539, allocations: 74.77 kB / 481.3 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1542, allocations: 0.6731 MB / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.1542, allocations: 0 / 482 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.1542, allocations: 11.44 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1542, allocations: 0 / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of Templates: time 0.01335/0.1676, allocations: 7.411 MB / 489.4 MB, free: 11.68 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)