Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.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.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009475/0.009475, allocations: 175.4 kB / 15.12 MB, free: 6.039 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.873/1.873, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001849/0.001849, allocations: 124.6 kB / 255.6 MB, free: 10.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2107/0.2107, allocations: 40.02 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 15.34 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 54.87 MB / 461 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.2742, allocations: 81.44 MB / 0.5297 GB, free: 1.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.2746, allocations: 63.97 kB / 0.5298 GB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2723/0.5469, allocations: 2.761 MB / 0.5325 GB, free: 82.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5469, allocations: 0 / 0.5325 GB, free: 82.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.5469, allocations: 2.781 kB / 0.5325 GB, free: 82.49 MB / 378.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.0003468/0.5473, allocations: 387.1 kB / 0.5329 GB, free: 82.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5473, allocations: 8.438 kB / 0.5329 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.5474, allocations: 3.25 kB / 0.5329 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.43e-05/0.5474, allocations: 159.6 kB / 0.533 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5475, allocations: 0.6562 kB / 0.533 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.5475, allocations: 2.75 kB / 0.533 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.344e-05/0.5476, allocations: 35.42 kB / 0.5331 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.5476, allocations: 0 / 0.5331 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.5476, allocations: 3.812 kB / 0.5331 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5476, allocations: 0 / 0.5331 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.5476, allocations: 2.859 kB / 0.5331 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.5477, allocations: 148.5 kB / 0.5332 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.253e-05/0.5478, allocations: 16.12 kB / 0.5332 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.5478, allocations: 4.109 kB / 0.5332 GB, free: 81.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5478, allocations: 61.02 kB / 0.5333 GB, free: 81.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5478, allocations: 0 / 0.5333 GB, free: 81.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000156/0.548, allocations: 75.25 kB / 0.5334 GB, free: 81.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.5481, allocations: 77.11 kB / 0.5334 GB, free: 81.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.984e-05/0.5481, allocations: 88.66 kB / 0.5335 GB, free: 81.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.684e-06/0.5481, allocations: 28.11 kB / 0.5336 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.503e-05/0.5481, allocations: 85.95 kB / 0.5336 GB, free: 81.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.5481, allocations: 4.688 kB / 0.5336 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.5482, allocations: 0 / 0.5336 GB, free: 81.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.5482, allocations: 315.1 kB / 0.5339 GB, free: 80.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.144e-06/0.5482, allocations: 2.75 kB / 0.5339 GB, free: 80.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.5482, allocations: 0 / 0.5339 GB, free: 80.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.464e-05/0.5483, allocations: 30.67 kB / 0.534 GB, free: 80.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5483, allocations: 0 / 0.534 GB, free: 80.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.482e-05/0.5483, allocations: 66.91 kB / 0.534 GB, free: 80.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5484, allocations: 30.89 kB / 0.5341 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5484, allocations: 4.094 kB / 0.5341 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5484, allocations: 2.562 kB / 0.5341 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.5484, allocations: 0 / 0.5341 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5484, allocations: 3.953 kB / 0.5341 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.5484, allocations: 2.656 kB / 0.5341 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.5485, allocations: 0 / 0.5341 GB, free: 80.76 MB / 378.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 () * 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 5.923e-05/0.5485, allocations: 136.9 kB / 0.5342 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.5485, allocations: 0 / 0.5342 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.138e-05/0.5485, allocations: 3.125 kB / 0.5342 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.5486, allocations: 4 kB / 0.5342 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.5486, allocations: 4.641 kB / 0.5342 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5486, allocations: 6.797 kB / 0.5342 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.82e-05/0.5487, allocations: 148 kB / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5487, allocations: 2.719 kB / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.5487, allocations: 0 / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.5487, allocations: 0 / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.5487, allocations: 0.6562 kB / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.5487, allocations: 0 / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5487, allocations: 1.812 kB / 0.5344 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.447e-05/0.5488, allocations: 94.89 kB / 0.5345 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.5488, allocations: 78.53 kB / 0.5345 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.5488, allocations: 4 kB / 0.5345 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-06/0.5488, allocations: 4.5 kB / 0.5346 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.5489, allocations: 1.188 kB / 0.5346 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.5489, allocations: 0 / 0.5346 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.617e-05/0.5489, allocations: 75.28 kB / 0.5346 GB, free: 80.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5489, allocations: 5.25 kB / 0.5346 GB, free: 80.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.5493, allocations: 91.81 kB / 0.5347 GB, free: 80.11 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) * 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.0004999/0.5498, allocations: 201 kB / 0.5349 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.878e-05/0.5499, allocations: 58.67 kB / 0.535 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5499, allocations: 0 / 0.535 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.5499, allocations: 59.11 kB / 0.535 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.239e-05/0.55, allocations: 12.2 kB / 0.535 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/0.5502, allocations: 82.83 kB / 0.5351 GB, free: 79.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.5503, allocations: 0.6794 MB / 0.5358 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.2e-06/0.5504, allocations: 1.156 kB / 0.5358 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-06/0.5504, allocations: 7.438 kB / 0.5358 GB, free: 79.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5504, allocations: 0.875 kB / 0.5358 GB, free: 79.05 MB / 378.7 MB Notification: Performance of Templates: time 0.004519/0.5549, allocations: 1.431 MB / 0.5372 GB, free: 78.97 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.pipe 2>&1)