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.0009302/0.0009302, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 173.5 kB / 16.57 MB, free: 6.387 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.34/1.34, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.3834/0.3834, allocations: 43.55 MB / 314.5 MB, free: 8.602 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.0005057/0.0005058, allocations: 15.98 kB / 383.9 MB, free: 8.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.138, allocations: 58.86 MB / 442.7 MB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0007131/0.1387, allocations: 220.4 kB / 443 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1417, allocations: 2.014 MB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.1417, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.1417, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.1417, allocations: 0 / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.1435, allocations: 0.6157 MB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.1435, allocations: 3.984 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.1436, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.1436, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.701e-05/0.1436, allocations: 4 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-06/0.1436, allocations: 0 / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.1452, allocations: 1.276 MB / 446.9 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-06/0.1453, allocations: 3.938 kB / 446.9 MB, free: 8.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.1453, allocations: 25.7 kB / 446.9 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1464, allocations: 1.15 MB / 448.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1464, allocations: 0 / 448.1 MB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1464, allocations: 3.984 kB / 448.1 MB, free: 7.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1464, allocations: 0 / 448.1 MB, free: 7.762 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.000568/0.147, allocations: 417 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.147, allocations: 8.031 kB / 448.5 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.1471, allocations: 3.953 kB / 448.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1472, allocations: 167 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1472, allocations: 4 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1472, allocations: 0 / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.1473, allocations: 29.69 kB / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1473, allocations: 0 / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1474, allocations: 4 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1474, allocations: 0 / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.1474, allocations: 7.953 kB / 448.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1476, allocations: 149.7 kB / 448.8 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.074e-05/0.1476, allocations: 22.55 kB / 448.9 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1476, allocations: 3.984 kB / 448.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.1477, allocations: 56.27 kB / 448.9 MB, free: 6.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1477, allocations: 0 / 448.9 MB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002042/0.1479, allocations: 71.45 kB / 449 MB, free: 6.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.148, allocations: 77.11 kB / 449.1 MB, free: 6.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.148, allocations: 89.86 kB / 449.1 MB, free: 6.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1481, allocations: 25.7 kB / 449.2 MB, free: 6.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.1481, allocations: 84.14 kB / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1481, allocations: 288 / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-06/0.1481, allocations: 0 / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1482, allocations: 318.7 kB / 449.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.1483, allocations: 0 / 449.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-06/0.1483, allocations: 4.125 kB / 449.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.087e-05/0.1483, allocations: 37.69 kB / 449.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1483, allocations: 0 / 449.6 MB, free: 5.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.079e-05/0.1484, allocations: 59.41 kB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/0.1484, allocations: 29.7 kB / 449.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1484, allocations: 0 / 449.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1484, allocations: 0 / 449.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.1484, allocations: 0 / 449.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1485, allocations: 0 / 449.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.1485, allocations: 12.03 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1485, allocations: 3.984 kB / 449.7 MB, free: 5.855 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 8.883e-05/0.1486, allocations: 143.4 kB / 449.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1486, allocations: 4 kB / 449.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.1486, allocations: 7.125 kB / 449.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1486, allocations: 0 / 449.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1486, allocations: 7.938 kB / 449.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1487, allocations: 0 / 449.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.795e-05/0.1488, allocations: 149.6 kB / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.1488, allocations: 4 kB / 450 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1488, allocations: 4 kB / 450 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1488, allocations: 3.938 kB / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1488, allocations: 0 / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.1488, allocations: 0 / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1488, allocations: 0 / 450 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.659e-05/0.1489, allocations: 94.78 kB / 450.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.1489, allocations: 77.11 kB / 450.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.149, allocations: 4.031 kB / 450.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-06/0.149, allocations: 0 / 450.2 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.149, allocations: 4 kB / 450.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.149, allocations: 0 / 450.2 MB, free: 5.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.732e-05/0.149, allocations: 75.28 kB / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.149, allocations: 0 / 450.3 MB, free: 5.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008034/0.1499, allocations: 276 kB / 450.5 MB, free: 4.91 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.001132/0.151, allocations: 413.5 kB / 450.9 MB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.1511, allocations: 59.39 kB / 451 MB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1511, allocations: 4.062 kB / 451 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.1511, allocations: 55.41 kB / 451.1 MB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.195e-05/0.1512, allocations: 7.953 kB / 451.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001744/0.1514, allocations: 82.69 kB / 451.1 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1518, allocations: 0.6731 MB / 451.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.045e-06/0.1518, allocations: 0 / 451.8 MB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.1518, allocations: 7.438 kB / 451.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1518, allocations: 0 / 451.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of Templates: time 0.2038/0.3556, allocations: 7.595 MB / 459.4 MB, free: 44.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: