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.001403/0.001403, allocations: 185.8 kB / 7.653 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.859/1.859, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001768/0.001767, allocations: 123.7 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2557/0.2557, allocations: 39.95 MB / 332.2 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.748e-05/1.749e-05, allocations: 4 kB / 393.3 MB, free: 3.461 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3472, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.4699, allocations: 80.68 MB / 0.5165 GB, free: 12.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4703, allocations: 63.97 kB / 0.5165 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009363/0.4797, allocations: 2.729 MB / 0.5192 GB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4797, allocations: 0 / 0.5192 GB, free: 10.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.4797, allocations: 0 / 0.5192 GB, free: 10.08 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.0004543/0.4802, allocations: 384.1 kB / 0.5196 GB, free: 9.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.4803, allocations: 12.03 kB / 0.5196 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.4803, allocations: 0 / 0.5196 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.4804, allocations: 163.1 kB / 0.5197 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4805, allocations: 4 kB / 0.5197 GB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.4805, allocations: 4 kB / 0.5197 GB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.392e-05/0.4805, allocations: 3.938 kB / 0.5197 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.152e-05/0.4806, allocations: 33.66 kB / 0.5198 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4807, allocations: 0 / 0.5198 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4807, allocations: 0 / 0.5198 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4807, allocations: 0 / 0.5198 GB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.4809, allocations: 122.2 kB / 0.5199 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.4809, allocations: 22.61 kB / 0.5199 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.481, allocations: 16.78 kB / 0.5199 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.481, allocations: 0 / 0.5199 GB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.4811, allocations: 56.27 kB / 0.52 GB, free: 9.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.4811, allocations: 3.938 kB / 0.52 GB, free: 9.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002166/0.4813, allocations: 37.72 kB / 0.52 GB, free: 9.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.4813, allocations: 77.11 kB / 0.5201 GB, free: 8.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.185e-05/0.4814, allocations: 85 kB / 0.5202 GB, free: 8.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4814, allocations: 25.73 kB / 0.5202 GB, free: 8.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.4815, allocations: 86.67 kB / 0.5203 GB, free: 8.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.4815, allocations: 8 kB / 0.5203 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.4815, allocations: 0 / 0.5203 GB, free: 8.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4817, allocations: 318.8 kB / 0.5206 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.4817, allocations: 0 / 0.5206 GB, free: 8.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.4817, allocations: 0 / 0.5206 GB, free: 8.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.677e-05/0.4818, allocations: 4 kB / 0.5206 GB, free: 8.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4818, allocations: 0 / 0.5206 GB, free: 8.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.174e-05/0.4819, allocations: 37.7 kB / 0.5206 GB, free: 8.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.4819, allocations: 33.7 kB / 0.5207 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.4819, allocations: 0 / 0.5207 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4819, allocations: 0 / 0.5207 GB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.449e-06/0.4819, allocations: 3.984 kB / 0.5207 GB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.482, allocations: 3.984 kB / 0.5207 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.482, allocations: 3.953 kB / 0.5207 GB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.482, allocations: 0 / 0.5207 GB, free: 8.344 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 () * 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.0001085/0.4821, allocations: 133.6 kB / 0.5208 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.4821, allocations: 4.031 kB / 0.5208 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.4821, allocations: 3.75 kB / 0.5208 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4822, allocations: 3.984 kB / 0.5208 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4822, allocations: 0 / 0.5208 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4822, allocations: 4 kB / 0.5208 GB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.684e-05/0.4823, allocations: 134.2 kB / 0.521 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4823, allocations: 0 / 0.521 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-06/0.4823, allocations: 0 / 0.521 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.4823, allocations: 0 / 0.521 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4823, allocations: 0 / 0.521 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4823, allocations: 0 / 0.521 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4823, allocations: 8 kB / 0.521 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4825, allocations: 69.02 kB / 0.521 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.4825, allocations: 77.11 kB / 0.5211 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.4826, allocations: 0 / 0.5211 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.4826, allocations: 4 kB / 0.5211 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.4826, allocations: 0 / 0.5211 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.4826, allocations: 7.938 kB / 0.5211 GB, free: 7.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.4827, allocations: 79.31 kB / 0.5212 GB, free: 7.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4827, allocations: 0 / 0.5212 GB, free: 7.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.4831, allocations: 79.86 kB / 0.5213 GB, free: 7.664 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.0006945/0.4838, allocations: 209.4 kB / 0.5215 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.4839, allocations: 59.41 kB / 0.5215 GB, free: 7.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4839, allocations: 3.938 kB / 0.5215 GB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.484, allocations: 55.39 kB / 0.5216 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.4841, allocations: 11.39 kB / 0.5216 GB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.4843, allocations: 48.14 kB / 0.5216 GB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.4847, allocations: 0.6729 MB / 0.5223 GB, free: 6.535 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.765e-06/0.4847, allocations: 0 / 0.5223 GB, free: 6.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.4847, allocations: 11.44 kB / 0.5223 GB, free: 6.523 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4847, allocations: 0 / 0.5223 GB, free: 6.523 MB / 378.7 MB Notification: Performance of Templates: time 0.004976/0.4897, allocations: 1.414 MB / 0.5237 GB, free: 5.105 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)