Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.000979, allocations: 96.59 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.001149/0.001149, allocations: 176.3 kB / 16.57 MB, free: 6.391 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.467/1.467, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.378/0.378, allocations: 43.54 MB / 314.5 MB, free: 9.004 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.0005172/0.0005174, allocations: 14.97 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1473, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0007023/0.1481, allocations: 228.4 kB / 443 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1501, allocations: 1.488 MB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1502, allocations: 0 / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.211e-05/0.1502, allocations: 0 / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.3e-06/0.1502, allocations: 0 / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007931/0.151, allocations: 195.5 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.29e-05/0.151, allocations: 3.938 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.1511, allocations: 3.984 kB / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1511, allocations: 0 / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.1512, allocations: 0 / 444.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.899e-06/0.1512, allocations: 7.938 kB / 444.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.152, allocations: 0.6481 MB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.1521, allocations: 3.984 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.1521, allocations: 29.7 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.1526, allocations: 455.3 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1526, allocations: 0 / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1526, allocations: 0 / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1526, allocations: 0 / 445.8 MB, free: 10.24 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.0004253/0.153, allocations: 365.1 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1531, allocations: 8.031 kB / 446.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.1531, allocations: 7.953 kB / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1532, allocations: 159.1 kB / 446.3 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1533, allocations: 4 kB / 446.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1533, allocations: 7.938 kB / 446.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.464e-05/0.1534, allocations: 29.69 kB / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1534, allocations: 0 / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1534, allocations: 0 / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1534, allocations: 0 / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.1534, allocations: 7.953 kB / 446.4 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.1536, allocations: 141.7 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.365e-05/0.1536, allocations: 26.67 kB / 446.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-06/0.1536, allocations: 3.938 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.1537, allocations: 60.25 kB / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1537, allocations: 0 / 446.6 MB, free: 9.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000182/0.1539, allocations: 63.31 kB / 446.6 MB, free: 9.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1539, allocations: 77.11 kB / 446.7 MB, free: 9.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.304e-05/0.154, allocations: 89.86 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.154, allocations: 25.7 kB / 446.8 MB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.1541, allocations: 88.27 kB / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1541, allocations: 0 / 446.9 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1541, allocations: 4 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1542, allocations: 318.8 kB / 447.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.1542, allocations: 0 / 447.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.1542, allocations: 3.938 kB / 447.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.1543, allocations: 29.7 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1543, allocations: 0 / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.487e-05/0.1544, allocations: 59.47 kB / 447.3 MB, free: 8.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.1544, allocations: 37.69 kB / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1544, allocations: 0 / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1544, allocations: 0 / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1544, allocations: 0 / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1544, allocations: 0 / 447.4 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.456e-05/0.1545, allocations: 3.938 kB / 447.4 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1545, allocations: 8 kB / 447.4 MB, free: 8.391 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 9.299e-05/0.1546, allocations: 143.4 kB / 447.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.1546, allocations: 4.031 kB / 447.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.1546, allocations: 3.125 kB / 447.5 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1546, allocations: 4 kB / 447.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1546, allocations: 0 / 447.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1546, allocations: 3.984 kB / 447.5 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.1547, allocations: 149.6 kB / 447.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1547, allocations: 0 / 447.7 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-06/0.1547, allocations: 3.938 kB / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1547, allocations: 0 / 447.7 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1547, allocations: 4 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1548, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1548, allocations: 4 kB / 447.7 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.581e-05/0.1549, allocations: 94.78 kB / 447.8 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.1549, allocations: 77.39 kB / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1549, allocations: 0 / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-06/0.1549, allocations: 0 / 447.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.1549, allocations: 3.984 kB / 447.9 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.155, allocations: 8 kB / 447.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.155, allocations: 79.31 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.155, allocations: 0 / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1554, allocations: 112 kB / 448.1 MB, free: 7.602 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.000658/0.156, allocations: 182.9 kB / 448.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.304e-05/0.1561, allocations: 63.34 kB / 448.3 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1561, allocations: 0 / 448.3 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.1562, allocations: 55.41 kB / 448.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.304e-05/0.1563, allocations: 7.703 kB / 448.4 MB, free: 7.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.1565, allocations: 86.62 kB / 448.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1567, allocations: 0.6733 MB / 449.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.291e-06/0.1567, allocations: 4 kB / 449.1 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.1567, allocations: 7.438 kB / 449.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1567, allocations: 0 / 449.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of Templates: time 0.006944/0.1637, allocations: 4.149 MB / 453.3 MB, free: 2.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) Environment - environmentSimulation: