Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001604/0.001604, allocations: 200 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008571/0.0008571, allocations: 97.72 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2033/0.2033, allocations: 45.16 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.279e-05/1.282e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1227, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.5583, allocations: 90.33 MB / 0.5926 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5586, allocations: 62.53 kB / 0.5926 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06631/0.625, allocations: 25.49 MB / 0.6175 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.625, allocations: 0 / 0.6175 GB, free: 6.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.625, allocations: 0 / 0.6175 GB, free: 6.918 MB / 410.7 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.0006062/0.6256, allocations: 435.4 kB / 0.6179 GB, free: 6.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6257, allocations: 12.03 kB / 0.618 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.6257, allocations: 7.953 kB / 0.618 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.6258, allocations: 162.6 kB / 0.6181 GB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.6258, allocations: 3.984 kB / 0.6181 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.6258, allocations: 0 / 0.6181 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.063e-05/0.6259, allocations: 0 / 0.6181 GB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.229e-05/0.6259, allocations: 29.7 kB / 0.6182 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.626, allocations: 0 / 0.6182 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.626, allocations: 0 / 0.6182 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.626, allocations: 0 / 0.6182 GB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001063/0.6261, allocations: 134.1 kB / 0.6183 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.6261, allocations: 22.55 kB / 0.6183 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.6262, allocations: 4.859 kB / 0.6183 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-06/0.6262, allocations: 0 / 0.6183 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.6262, allocations: 63.69 kB / 0.6184 GB, free: 5.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.6262, allocations: 0 / 0.6184 GB, free: 5.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001633/0.6264, allocations: 37.77 kB / 0.6184 GB, free: 5.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.6264, allocations: 77.11 kB / 0.6185 GB, free: 5.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.02e-05/0.6265, allocations: 85 kB / 0.6186 GB, free: 5.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.6265, allocations: 25.7 kB / 0.6186 GB, free: 5.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.6265, allocations: 80.98 kB / 0.6187 GB, free: 5.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.6266, allocations: 0 / 0.6187 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-06/0.6266, allocations: 0 / 0.6187 GB, free: 5.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.6267, allocations: 317.8 kB / 0.619 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.6267, allocations: 7.922 kB / 0.619 GB, free: 5.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.6267, allocations: 4.031 kB / 0.619 GB, free: 5.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.6267, allocations: 3.953 kB / 0.619 GB, free: 5.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6268, allocations: 0 / 0.619 GB, free: 5.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.526e-05/0.6268, allocations: 33.7 kB / 0.619 GB, free: 5.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.6269, allocations: 35.2 kB / 0.619 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6269, allocations: 0 / 0.619 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.6269, allocations: 4 kB / 0.619 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.6269, allocations: 7.984 kB / 0.6191 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.6269, allocations: 0 / 0.6191 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.6269, allocations: 4.094 kB / 0.6191 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.6269, allocations: 0 / 0.6191 GB, free: 5.145 MB / 410.7 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 () * 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 7.322e-05/0.627, allocations: 142.1 kB / 0.6192 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-06/0.627, allocations: 0 / 0.6192 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.117e-05/0.627, allocations: 3.75 kB / 0.6192 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.627, allocations: 0 / 0.6192 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6271, allocations: 0 / 0.6192 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.6271, allocations: 0 / 0.6192 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.59e-05/0.6271, allocations: 130.2 kB / 0.6193 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6272, allocations: 4 kB / 0.6193 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.6272, allocations: 3.938 kB / 0.6193 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6272, allocations: 3.953 kB / 0.6193 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.6272, allocations: 7.922 kB / 0.6193 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.6272, allocations: 0 / 0.6193 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6272, allocations: 0 / 0.6193 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.578e-05/0.6273, allocations: 67.86 kB / 0.6194 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.6273, allocations: 77.11 kB / 0.6195 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.6273, allocations: 7.984 kB / 0.6195 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.6274, allocations: 0 / 0.6195 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.6274, allocations: 4 kB / 0.6195 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.6274, allocations: 0 / 0.6195 GB, free: 4.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.6274, allocations: 75.28 kB / 0.6196 GB, free: 4.551 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6274, allocations: 0 / 0.6196 GB, free: 4.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005962/0.628, allocations: 199.2 kB / 0.6198 GB, free: 4.359 MB / 410.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: 1 (result) * Number of discrete states: 1 (result) * 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.0009771/0.629, allocations: 376.7 kB / 0.6201 GB, free: 3.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.87e-05/0.6291, allocations: 62.84 kB / 0.6202 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6291, allocations: 3.938 kB / 0.6202 GB, free: 3.922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.6292, allocations: 55.41 kB / 0.6202 GB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.07e-05/0.6292, allocations: 0 / 0.6202 GB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.6294, allocations: 44.02 kB / 0.6203 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.6296, allocations: 0.6768 MB / 0.6209 GB, free: 3.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.601e-06/0.6296, allocations: 0 / 0.6209 GB, free: 3.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.262e-05/0.6297, allocations: 7.438 kB / 0.6209 GB, free: 3.078 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6297, allocations: 0 / 0.6209 GB, free: 3.078 MB / 410.7 MB Notification: Performance of Templates: time 0.008651/0.6383, allocations: 5.017 MB / 0.6258 GB, free: 14.07 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)