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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 103 kB / 15.06 MB, free: 1.098 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.00139/0.00139, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2814/0.2814, allocations: 39.99 MB / 310.4 MB, free: 10 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.0005352, allocations: 12 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0006221/0.1068, allocations: 224.4 kB / 437 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1089, allocations: 1.522 MB / 438.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.1089, allocations: 0 / 438.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.1089, allocations: 0 / 438.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1089, allocations: 0 / 438.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.1096, allocations: 227.4 kB / 438.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 2.575e-05/0.1097, allocations: 4 kB / 438.7 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.1097, allocations: 4 kB / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.244e-05/0.1097, allocations: 0 / 438.7 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.252e-05/0.1098, allocations: 3.984 kB / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.019e-06/0.1098, allocations: 0 / 438.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.1103, allocations: 419.3 kB / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.292e-06/0.1103, allocations: 0 / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1104, allocations: 29.64 kB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1107, allocations: 215.7 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.1107, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1107, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1107, allocations: 0 / 439.4 MB, free: 15.95 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.0003689/0.1111, allocations: 373 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1111, allocations: 15.97 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.1112, allocations: 0 / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.1112, allocations: 163.1 kB / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1113, allocations: 0 / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.1113, allocations: 3.938 kB / 439.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.234e-05/0.1114, allocations: 33.7 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1114, allocations: 0 / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1114, allocations: 0 / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1114, allocations: 7.938 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.1114, allocations: 8 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.1116, allocations: 145.7 kB / 440.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.1116, allocations: 18.52 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.1116, allocations: 8.094 kB / 440.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.1117, allocations: 56.27 kB / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1117, allocations: 0 / 440.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001566/0.1118, allocations: 63.41 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1119, allocations: 81.09 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.834e-05/0.112, allocations: 93.81 kB / 440.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.112, allocations: 33.58 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.112, allocations: 80.14 kB / 440.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.112, allocations: 4.125 kB / 440.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.112, allocations: 4 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1121, allocations: 310.8 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.1122, allocations: 0 / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.1122, allocations: 4 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.1122, allocations: 29.7 kB / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1122, allocations: 0 / 440.9 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.835e-05/0.1123, allocations: 59.39 kB / 440.9 MB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.1123, allocations: 37.8 kB / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1123, allocations: 0 / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.1123, allocations: 0 / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.1124, allocations: 0 / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.1124, allocations: 0 / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.1124, allocations: 0 / 441 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1124, allocations: 7.953 kB / 441 MB, free: 14.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.71e-05/0.1125, allocations: 139.8 kB / 441.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.1125, allocations: 7.984 kB / 441.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.185e-05/0.1125, allocations: 11.12 kB / 441.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1125, allocations: 0 / 441.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1125, allocations: 0 / 441.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1125, allocations: 4 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.287e-05/0.1126, allocations: 145.6 kB / 441.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1126, allocations: 0 / 441.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1126, allocations: 0 / 441.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1126, allocations: 4 kB / 441.3 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1126, allocations: 3.984 kB / 441.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1126, allocations: 3.938 kB / 441.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1127, allocations: 0 / 441.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/0.1127, allocations: 94.8 kB / 441.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.1128, allocations: 85.03 kB / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1128, allocations: 0 / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-06/0.1128, allocations: 0 / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.1128, allocations: 0 / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-06/0.1128, allocations: 4 kB / 441.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.1129, allocations: 83.16 kB / 441.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1129, allocations: 4.031 kB / 441.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1132, allocations: 67.98 kB / 441.6 MB, free: 13.34 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 (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.0003831/0.1136, allocations: 179 kB / 441.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.099e-05/0.1137, allocations: 59.41 kB / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1137, allocations: 0 / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.1137, allocations: 55.39 kB / 441.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.776e-05/0.1138, allocations: 11.89 kB / 441.9 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.114, allocations: 74.77 kB / 442 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1142, allocations: 0.6811 MB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.9e-06/0.1142, allocations: 0 / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.1142, allocations: 7.438 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1142, allocations: 0 / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of Templates: time 0.003512/0.1177, allocations: 1.249 MB / 443.9 MB, free: 10.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: