Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002161/0.002161, allocations: 177.8 kB / 8.358 MB, free: 0.7188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 82.8 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3715/0.3715, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.845e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 58.85 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5491, allocations: 87.93 MB / 0.5518 GB, free: 11.38 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5494, allocations: 63.97 kB / 0.5518 GB, free: 11.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1135/0.6629, allocations: 25.28 MB / 0.5765 GB, free: 2.008 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6629, allocations: 0 / 0.5765 GB, free: 2.008 MB / 411.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.663, allocations: 0 / 0.5765 GB, free: 2.008 MB / 411.1 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.0007429/0.6637, allocations: 436 kB / 0.5769 GB, free: 1.531 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6638, allocations: 8.031 kB / 0.5769 GB, free: 1.523 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.6638, allocations: 3.953 kB / 0.5769 GB, free: 1.52 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.6639, allocations: 159.1 kB / 0.5771 GB, free: 1.324 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.664, allocations: 8 kB / 0.5771 GB, free: 1.316 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.664, allocations: 0 / 0.5771 GB, free: 1.316 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.056e-05/0.664, allocations: 0 / 0.5771 GB, free: 1.316 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/0.6641, allocations: 33.69 kB / 0.5771 GB, free: 1.277 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6641, allocations: 0 / 0.5771 GB, free: 1.277 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6641, allocations: 0 / 0.5771 GB, free: 1.277 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.6642, allocations: 0 / 0.5771 GB, free: 1.277 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.6643, allocations: 130.1 kB / 0.5773 GB, free: 1.113 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.6644, allocations: 30.45 kB / 0.5773 GB, free: 1.074 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.6644, allocations: 8.953 kB / 0.5773 GB, free: 1.062 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.6644, allocations: 0 / 0.5773 GB, free: 1.062 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.6645, allocations: 56.27 kB / 0.5773 GB, free: 0.9922 MB / 411.1 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.6645, allocations: 0 / 0.5773 GB, free: 0.9922 MB / 411.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001894/0.6647, allocations: 41.67 kB / 0.5774 GB, free: 0.9453 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.6647, allocations: 77.11 kB / 0.5775 GB, free: 0.8516 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.978e-05/0.6648, allocations: 89.03 kB / 0.5775 GB, free: 0.7578 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.6648, allocations: 25.7 kB / 0.5776 GB, free: 0.7266 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.6649, allocations: 150.6 kB / 0.5777 GB, free: 0.5781 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.6649, allocations: 4 kB / 0.5777 GB, free: 0.5742 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.6649, allocations: 0 / 0.5777 GB, free: 0.5742 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6651, allocations: 310.8 kB / 0.578 GB, free: 268 kB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.6651, allocations: 7.938 kB / 0.578 GB, free: 260 kB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.6651, allocations: 0 / 0.578 GB, free: 260 kB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.6652, allocations: 0 / 0.578 GB, free: 260 kB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6652, allocations: 8.016 kB / 0.578 GB, free: 252 kB / 411.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.971e-05/0.6653, allocations: 37.69 kB / 0.5781 GB, free: 208 kB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.6653, allocations: 29.7 kB / 0.5781 GB, free: 172 kB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6653, allocations: 0 / 0.5781 GB, free: 172 kB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6654, allocations: 0 / 0.5781 GB, free: 172 kB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.6654, allocations: 0 / 0.5781 GB, free: 172 kB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.6654, allocations: 4 kB / 0.5781 GB, free: 168 kB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.6654, allocations: 0 / 0.5781 GB, free: 168 kB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.6654, allocations: 0 / 0.5781 GB, free: 168 kB / 411.1 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.0001007/0.6655, allocations: 134.7 kB / 0.5782 GB, free: 20 kB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.08e-05/0.6656, allocations: 7.953 kB / 0.5782 GB, free: 12 kB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.6656, allocations: 7.75 kB / 0.5782 GB, free: 4 kB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6656, allocations: 0 / 0.5782 GB, free: 4 kB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.6656, allocations: 4 kB / 0.5782 GB, free: 0 / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6656, allocations: 0 / 0.5782 GB, free: 0 / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.6658, allocations: 122.2 kB / 0.5784 GB, free: 15.84 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6658, allocations: 4 kB / 0.5784 GB, free: 15.84 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-06/0.6658, allocations: 7.922 kB / 0.5784 GB, free: 15.83 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6658, allocations: 3.953 kB / 0.5784 GB, free: 15.83 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.6658, allocations: 7.938 kB / 0.5784 GB, free: 15.82 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6658, allocations: 0 / 0.5784 GB, free: 15.82 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6659, allocations: 0 / 0.5784 GB, free: 15.82 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.666, allocations: 61.14 kB / 0.5784 GB, free: 15.74 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.666, allocations: 81.09 kB / 0.5785 GB, free: 15.64 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.6661, allocations: 3.953 kB / 0.5785 GB, free: 15.64 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.6661, allocations: 0 / 0.5785 GB, free: 15.64 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.6661, allocations: 3.938 kB / 0.5785 GB, free: 15.64 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.6661, allocations: 12.02 kB / 0.5785 GB, free: 15.62 MB / 427.1 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.6662, allocations: 75.28 kB / 0.5786 GB, free: 15.55 MB / 427.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6662, allocations: 0 / 0.5786 GB, free: 15.55 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009028/0.6671, allocations: 203.8 kB / 0.5788 GB, free: 15.35 MB / 427.1 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.001431/0.6685, allocations: 369.5 kB / 0.5792 GB, free: 14.98 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.6687, allocations: 59.41 kB / 0.5792 GB, free: 14.91 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6687, allocations: 0 / 0.5792 GB, free: 14.91 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.6687, allocations: 59.39 kB / 0.5793 GB, free: 14.84 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001081/0.6688, allocations: 128 / 0.5793 GB, free: 14.84 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.669, allocations: 73.77 kB / 0.5793 GB, free: 14.74 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.6694, allocations: 0.6768 MB / 0.58 GB, free: 14.04 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.6694, allocations: 7.438 kB / 0.58 GB, free: 14.03 MB / 427.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6694, allocations: 0 / 0.58 GB, free: 14.03 MB / 427.1 MB Notification: Performance of Templates: time 0.01265/0.682, allocations: 4.442 MB / 0.5843 GB, free: 9.586 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)