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.001242/0.001242, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001395/0.001395, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.618/1.618, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2236/0.2236, allocations: 43.52 MB / 313.9 MB, free: 0.5117 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.001692/0.001692, allocations: 72.66 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1164, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001927/0.1184, allocations: 0.4974 MB / 441 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.121, allocations: 2.126 MB / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.1211, allocations: 0 / 443.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1211, allocations: 4 kB / 443.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.1211, allocations: 3.938 kB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.1234, allocations: 0.7204 MB / 443.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.1234, allocations: 0 / 443.9 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.588e-05/0.1235, allocations: 4 kB / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.25e-05/0.1235, allocations: 0 / 443.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.1236, allocations: 3.984 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/0.1236, allocations: 0 / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.1258, allocations: 1.408 MB / 445.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1258, allocations: 0 / 445.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1258, allocations: 0 / 445.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.1276, allocations: 1.564 MB / 446.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1276, allocations: 0 / 446.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1276, allocations: 0 / 446.8 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1276, allocations: 0 / 446.8 MB, free: 0.5469 MB / 318.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.0004631/0.1281, allocations: 413.5 kB / 447.2 MB, free: 92 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1281, allocations: 15.89 kB / 447.3 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.1282, allocations: 4.922 kB / 447.3 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1283, allocations: 164.3 kB / 447.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1283, allocations: 4.375 kB / 447.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.1283, allocations: 8.109 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.1284, allocations: 25.7 kB / 447.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1284, allocations: 7.875 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1284, allocations: 4 kB / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1284, allocations: 0 / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.1285, allocations: 0 / 447.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.1286, allocations: 153.7 kB / 447.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.1287, allocations: 22.55 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.1287, allocations: 8.797 kB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1287, allocations: 0 / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.1287, allocations: 60.33 kB / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.304e-06/0.1288, allocations: 0 / 447.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001777/0.1289, allocations: 71.33 kB / 447.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.129, allocations: 81.11 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.91e-05/0.129, allocations: 89.86 kB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1291, allocations: 25.7 kB / 448 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.1291, allocations: 80.14 kB / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1291, allocations: 0 / 448 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.1292, allocations: 13.72 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1293, allocations: 310.8 kB / 448.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.1293, allocations: 4.125 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.1293, allocations: 7.984 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.1294, allocations: 64.2 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1294, allocations: 0 / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.453e-05/0.1295, allocations: 63.34 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.1295, allocations: 29.7 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1295, allocations: 3.984 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1295, allocations: 0 / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.1295, allocations: 4.094 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1296, allocations: 8 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.1296, allocations: 0 / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1296, allocations: 0 / 448.5 MB, free: 14.56 MB / 334.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 9.338e-05/0.1297, allocations: 143.5 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.1297, allocations: 3.938 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.1297, allocations: 3.125 kB / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1297, allocations: 0 / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1297, allocations: 0 / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1298, allocations: 0 / 448.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1299, allocations: 153.7 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1299, allocations: 3.938 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1299, allocations: 0 / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1299, allocations: 0 / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1299, allocations: 3.938 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1299, allocations: 3.938 kB / 448.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1299, allocations: 3.938 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.13, allocations: 94.83 kB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.1301, allocations: 81.05 kB / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1301, allocations: 0 / 449 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-06/0.1301, allocations: 4 kB / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.1301, allocations: 0 / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.1301, allocations: 3.984 kB / 449 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.265e-05/0.1302, allocations: 75.28 kB / 449.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1302, allocations: 0 / 449.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008822/0.1311, allocations: 272 kB / 449.4 MB, free: 13.62 MB / 334.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.001284/0.1324, allocations: 414.8 kB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.1325, allocations: 67.34 kB / 449.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1325, allocations: 0 / 449.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.1325, allocations: 55.41 kB / 449.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.1327, allocations: 3.938 kB / 449.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.1329, allocations: 84.98 kB / 450 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.1331, allocations: 0.669 MB / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.1331, allocations: 3.938 kB / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.1331, allocations: 11.56 kB / 450.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1331, allocations: 7.938 kB / 450.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of Templates: time 0.01465/0.1478, allocations: 7.421 MB / 458.1 MB, free: 4.82 MB / 334.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)