Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.995/1.995, allocations: 194.3 MB / 207.5 MB, free: 3.457 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001751/0.001751, allocations: 115.4 kB / 252.6 MB, free: 4.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2485/0.2485, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.554e-05/5.572e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5016/0.6413, allocations: 83.69 MB / 0.5262 GB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.6415, allocations: 70.41 kB / 0.5263 GB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06542/0.707, allocations: 25.67 MB / 0.5513 GB, free: 2.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.707, allocations: 0 / 0.5513 GB, free: 2.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.707, allocations: 0 / 0.5513 GB, free: 2.008 MB / 362.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.0007834/0.7078, allocations: 443.3 kB / 0.5518 GB, free: 1.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.7079, allocations: 8.031 kB / 0.5518 GB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.7079, allocations: 4.688 kB / 0.5518 GB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.708, allocations: 159.1 kB / 0.5519 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.7081, allocations: 0 / 0.5519 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.7081, allocations: 0 / 0.5519 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.7082, allocations: 38.5 kB / 0.552 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7082, allocations: 0 / 0.552 GB, free: 1.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.7082, allocations: 3.953 kB / 0.552 GB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7082, allocations: 3.938 kB / 0.552 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.7083, allocations: 0 / 0.552 GB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.7084, allocations: 152 kB / 0.5521 GB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.982e-05/0.7085, allocations: 16.14 kB / 0.5521 GB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.7085, allocations: 4.859 kB / 0.5521 GB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.7085, allocations: 4.094 kB / 0.5521 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.7086, allocations: 60.27 kB / 0.5522 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7086, allocations: 0 / 0.5522 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001716/0.7088, allocations: 66.14 kB / 0.5523 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.7088, allocations: 85.06 kB / 0.5523 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.081e-05/0.7089, allocations: 85 kB / 0.5524 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.7089, allocations: 25.7 kB / 0.5524 GB, free: 0.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.896e-05/0.7089, allocations: 84.17 kB / 0.5525 GB, free: 0.582 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.709, allocations: 3.938 kB / 0.5525 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.709, allocations: 0.8125 kB / 0.5525 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7091, allocations: 310.8 kB / 0.5528 GB, free: 272 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.7091, allocations: 4.562 kB / 0.5528 GB, free: 268 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.7091, allocations: 0 / 0.5528 GB, free: 268 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.7092, allocations: 26.27 kB / 0.5528 GB, free: 236 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7092, allocations: 0 / 0.5528 GB, free: 236 kB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.895e-05/0.7093, allocations: 72.95 kB / 0.5529 GB, free: 152 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.7093, allocations: 29.7 kB / 0.5529 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7093, allocations: 4 kB / 0.5529 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7093, allocations: 0 / 0.5529 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-06/0.7093, allocations: 4 kB / 0.553 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7093, allocations: 3.938 kB / 0.553 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.7094, allocations: 3.953 kB / 0.553 GB, free: 100 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.7094, allocations: 0 / 0.553 GB, free: 100 kB / 362.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 0.0001062/0.7095, allocations: 131.5 kB / 0.5531 GB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.7095, allocations: 4.766 kB / 0.5531 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.449e-05/0.7095, allocations: 7.125 kB / 0.5531 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.7095, allocations: 0 / 0.5531 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.7095, allocations: 0 / 0.5531 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.7095, allocations: 0 / 0.5531 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.7097, allocations: 150.7 kB / 0.5532 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7097, allocations: 0 / 0.5532 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.7097, allocations: 0 / 0.5532 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.7097, allocations: 0 / 0.5532 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.7097, allocations: 3.984 kB / 0.5532 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7097, allocations: 0 / 0.5532 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7097, allocations: 8 kB / 0.5533 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.375e-05/0.7098, allocations: 90.48 kB / 0.5533 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.7099, allocations: 81.09 kB / 0.5534 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.7099, allocations: 4 kB / 0.5534 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.7099, allocations: 0.5625 kB / 0.5534 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.7099, allocations: 0 / 0.5534 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.7099, allocations: 0 / 0.5534 GB, free: 15.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.19e-05/0.71, allocations: 79.81 kB / 0.5535 GB, free: 15.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.71, allocations: 0 / 0.5535 GB, free: 15.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005547/0.7105, allocations: 159.2 kB / 0.5536 GB, free: 15.3 MB / 378.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.0009872/0.7115, allocations: 351.3 kB / 0.554 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.7116, allocations: 64.39 kB / 0.554 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7117, allocations: 0 / 0.554 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.7117, allocations: 56.41 kB / 0.5541 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.766e-05/0.7118, allocations: 10.48 kB / 0.5541 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.712, allocations: 47 kB / 0.5542 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.7124, allocations: 0.6731 MB / 0.5548 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.294e-06/0.7124, allocations: 0 / 0.5548 GB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.7124, allocations: 11.44 kB / 0.5548 GB, free: 14.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7124, allocations: 0 / 0.5548 GB, free: 14.04 MB / 378.7 MB Notification: Performance of Templates: time 0.008792/0.7212, allocations: 4.545 MB / 0.5593 GB, free: 9.496 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)