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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007571/0.007571, allocations: 99.98 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001397, allocations: 195.3 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.388/0.388, allocations: 43.49 MB / 313.5 MB, free: 8.289 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 66.56 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1375, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001995/0.1396, allocations: 0.5542 MB / 440.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.143, allocations: 2.192 MB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.143, allocations: 0 / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.436e-05/0.143, allocations: 0 / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.757e-06/0.1431, allocations: 4 kB / 442.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.1453, allocations: 0.6433 MB / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.1454, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.706e-05/0.1455, allocations: 0 / 443.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.1455, allocations: 7.938 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.815e-05/0.1455, allocations: 0 / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1456, allocations: 4 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.1479, allocations: 1.393 MB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1479, allocations: 3.938 kB / 444.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.148, allocations: 4 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.1497, allocations: 1.54 MB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1497, allocations: 0 / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1497, allocations: 0 / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1497, allocations: 0 / 446.2 MB, free: 8.254 MB / 382.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.000733/0.1505, allocations: 421.2 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.1505, allocations: 8.031 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.1506, allocations: 0.9375 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1507, allocations: 160.4 kB / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1508, allocations: 4.375 kB / 446.7 MB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.1508, allocations: 4.125 kB / 446.7 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1509, allocations: 41.62 kB / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1509, allocations: 0 / 446.8 MB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.151, allocations: 4 kB / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.151, allocations: 0 / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/0.151, allocations: 0 / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.1512, allocations: 141.7 kB / 446.9 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/0.1513, allocations: 18.61 kB / 446.9 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.1513, allocations: 12.8 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1513, allocations: 0 / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.1514, allocations: 68.25 kB / 447 MB, free: 7.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1514, allocations: 4 kB / 447 MB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002399/0.1517, allocations: 55.41 kB / 447.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1517, allocations: 81.11 kB / 447.2 MB, free: 7.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.1518, allocations: 89.86 kB / 447.2 MB, free: 6.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1518, allocations: 25.7 kB / 447.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.1519, allocations: 84.27 kB / 447.4 MB, free: 6.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1519, allocations: 4.281 kB / 447.4 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.152, allocations: 17.7 kB / 447.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1521, allocations: 310.8 kB / 447.7 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.1521, allocations: 0 / 447.7 MB, free: 6.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.1521, allocations: 0 / 447.7 MB, free: 6.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.346e-05/0.1522, allocations: 64.2 kB / 447.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1522, allocations: 4.062 kB / 447.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.965e-05/0.1523, allocations: 75.27 kB / 447.8 MB, free: 6.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.1524, allocations: 29.7 kB / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1524, allocations: 0 / 447.8 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1524, allocations: 3.938 kB / 447.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.336e-06/0.1524, allocations: 4 kB / 447.9 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1524, allocations: 0 / 447.9 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.261e-05/0.1524, allocations: 3.938 kB / 447.9 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1525, allocations: 0 / 447.9 MB, free: 6.277 MB / 382.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.1526, allocations: 139.6 kB / 448 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.1526, allocations: 7.922 kB / 448 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.1526, allocations: 7.109 kB / 448 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.1526, allocations: 0 / 448 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1526, allocations: 0 / 448 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1526, allocations: 0 / 448 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1528, allocations: 149.7 kB / 448.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1528, allocations: 3.938 kB / 448.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.1528, allocations: 7.938 kB / 448.2 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1528, allocations: 3.984 kB / 448.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1528, allocations: 4 kB / 448.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.1528, allocations: 0 / 448.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1528, allocations: 0 / 448.2 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1529, allocations: 86.84 kB / 448.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.153, allocations: 85.03 kB / 448.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.153, allocations: 0 / 448.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.035e-05/0.153, allocations: 4 kB / 448.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1531, allocations: 0 / 448.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1531, allocations: 4.031 kB / 448.4 MB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.1531, allocations: 75.28 kB / 448.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1531, allocations: 0 / 448.4 MB, free: 5.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008794/0.154, allocations: 272 kB / 448.7 MB, free: 5.336 MB / 382.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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.1554, allocations: 417.6 kB / 449.1 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.1556, allocations: 71.33 kB / 449.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1556, allocations: 0 / 449.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.1556, allocations: 55.41 kB / 449.2 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1558, allocations: 8.062 kB / 449.2 MB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.156, allocations: 78.67 kB / 449.3 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1563, allocations: 0.6731 MB / 450 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.254e-06/0.1563, allocations: 0 / 450 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.1564, allocations: 11.44 kB / 450 MB, free: 3.965 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1564, allocations: 0 / 450 MB, free: 3.965 MB / 382.1 MB Notification: Performance of Templates: time 0.216/0.3723, allocations: 7.404 MB / 457.4 MB, free: 46.67 MB / 382.1 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)