Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 180.9 kB / 8.006 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 94.58 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2254/0.2254, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.295e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1272, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4805/0.6078, allocations: 87.92 MB / 0.5518 GB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.6081, allocations: 66.94 kB / 0.5518 GB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07028/0.6784, allocations: 25.27 MB / 0.5765 GB, free: 2.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6785, allocations: 0 / 0.5765 GB, free: 2.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.6785, allocations: 0 / 0.5765 GB, free: 2.402 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.0008554/0.6793, allocations: 438.8 kB / 0.5769 GB, free: 1.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.6794, allocations: 8.031 kB / 0.577 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.6795, allocations: 7.953 kB / 0.577 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6796, allocations: 163 kB / 0.5771 GB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.6796, allocations: 7.969 kB / 0.5771 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.6796, allocations: 0 / 0.5771 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.928e-05/0.6797, allocations: 0 / 0.5771 GB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.6798, allocations: 33.64 kB / 0.5772 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6798, allocations: 0 / 0.5772 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6798, allocations: 0 / 0.5772 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.6798, allocations: 4 kB / 0.5772 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.68, allocations: 129 kB / 0.5773 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.6801, allocations: 18.61 kB / 0.5773 GB, free: 1.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.6801, allocations: 4.859 kB / 0.5773 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.6801, allocations: 0 / 0.5773 GB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.6802, allocations: 60.25 kB / 0.5774 GB, free: 1.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.6802, allocations: 0 / 0.5774 GB, free: 1.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002914/0.6805, allocations: 44.83 kB / 0.5774 GB, free: 1.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.6806, allocations: 77.11 kB / 0.5775 GB, free: 1.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.844e-05/0.6806, allocations: 85 kB / 0.5776 GB, free: 1.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.6806, allocations: 25.7 kB / 0.5776 GB, free: 1.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.6807, allocations: 80.14 kB / 0.5777 GB, free: 1.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.6807, allocations: 0 / 0.5777 GB, free: 1.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.6807, allocations: 4 kB / 0.5777 GB, free: 1.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6809, allocations: 313.6 kB / 0.578 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.6809, allocations: 8.016 kB / 0.578 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.6809, allocations: 3.938 kB / 0.578 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.681, allocations: 0 / 0.578 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.681, allocations: 7.953 kB / 0.578 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.94e-05/0.6811, allocations: 29.7 kB / 0.578 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.6811, allocations: 29.7 kB / 0.578 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6811, allocations: 4 kB / 0.578 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.6812, allocations: 0 / 0.578 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.056e-06/0.6812, allocations: 3.984 kB / 0.578 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6812, allocations: 4.797 kB / 0.5781 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.6812, allocations: 0 / 0.5781 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.6812, allocations: 0 / 0.5781 GB, free: 0.6289 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.0001009/0.6813, allocations: 137.2 kB / 0.5782 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.6813, allocations: 3.953 kB / 0.5782 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.6814, allocations: 3.75 kB / 0.5782 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6814, allocations: 0 / 0.5782 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6814, allocations: 0 / 0.5782 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6814, allocations: 0 / 0.5782 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.776e-05/0.6815, allocations: 138.2 kB / 0.5783 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6815, allocations: 0 / 0.5783 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.6815, allocations: 3.938 kB / 0.5783 GB, free: 308 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6815, allocations: 7.953 kB / 0.5783 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.6815, allocations: 0 / 0.5783 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6815, allocations: 0 / 0.5783 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6816, allocations: 0 / 0.5783 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.6817, allocations: 64.06 kB / 0.5784 GB, free: 220 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.6817, allocations: 81.14 kB / 0.5785 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.6818, allocations: 3.953 kB / 0.5785 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.6818, allocations: 0 / 0.5785 GB, free: 116 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.6818, allocations: 4 kB / 0.5785 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.6818, allocations: 0 / 0.5785 GB, free: 112 kB / 378.7 MB Notification: Performance of sorting global known variables: time 3.623e-05/0.6818, allocations: 75.28 kB / 0.5786 GB, free: 36 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6819, allocations: 3.938 kB / 0.5786 GB, free: 32 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008376/0.6827, allocations: 210.7 kB / 0.5788 GB, free: 15.83 MB / 394.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.001271/0.684, allocations: 373.4 kB / 0.5791 GB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6841, allocations: 62.97 kB / 0.5792 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6841, allocations: 0 / 0.5792 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.6842, allocations: 55.41 kB / 0.5792 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.6843, allocations: 0.6562 kB / 0.5792 GB, free: 15.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.6845, allocations: 48 kB / 0.5793 GB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.6848, allocations: 0.6768 MB / 0.5799 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.251e-06/0.6848, allocations: 3.938 kB / 0.5799 GB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.6848, allocations: 7.438 kB / 0.5799 GB, free: 14.55 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6848, allocations: 4 kB / 0.5799 GB, free: 14.54 MB / 394.7 MB Notification: Performance of Templates: time 0.01193/0.6968, allocations: 5.02 MB / 0.5848 GB, free: 9.527 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)