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.00116/0.00116, allocations: 88.19 kB / 15.7 MB, free: 460 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.001892/0.001892, allocations: 176.3 kB / 16.58 MB, free: 6.844 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.775/1.775, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3975/0.3975, allocations: 43.58 MB / 314.6 MB, free: 8.715 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.0005388/0.0005389, allocations: 15.98 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.152, allocations: 58.87 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0006554/0.1527, allocations: 220.5 kB / 443 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1548, allocations: 1.495 MB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.1548, allocations: 0 / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.163e-05/0.1549, allocations: 0 / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.824e-06/0.1549, allocations: 4 kB / 444.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008193/0.1557, allocations: 203.4 kB / 444.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.1557, allocations: 8 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.1558, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1558, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.88e-05/0.1558, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-06/0.1559, allocations: 0 / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009346/0.1568, allocations: 0.6752 MB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.1568, allocations: 0 / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1569, allocations: 25.7 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.1573, allocations: 447.3 kB / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1573, allocations: 0 / 445.9 MB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1573, allocations: 4 kB / 445.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1573, allocations: 0 / 445.9 MB, free: 9.945 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.0004077/0.1577, allocations: 369.1 kB / 446.2 MB, free: 9.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1578, allocations: 8.031 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.1578, allocations: 7.938 kB / 446.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.158, allocations: 163.1 kB / 446.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.158, allocations: 0 / 446.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.158, allocations: 4 kB / 446.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.636e-05/0.1581, allocations: 29.7 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1581, allocations: 0 / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1581, allocations: 0 / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.1582, allocations: 0 / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.1582, allocations: 11.89 kB / 446.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.1584, allocations: 145.7 kB / 446.6 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.1584, allocations: 26.61 kB / 446.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.1584, allocations: 4.859 kB / 446.6 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.1584, allocations: 4 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.1585, allocations: 56.27 kB / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1585, allocations: 0 / 446.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001973/0.1587, allocations: 67.3 kB / 446.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1588, allocations: 85.05 kB / 446.8 MB, free: 8.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.1588, allocations: 89.86 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1589, allocations: 29.64 kB / 447 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.1589, allocations: 84.14 kB / 447 MB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.1589, allocations: 4.125 kB / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.159, allocations: 0 / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1591, allocations: 314.8 kB / 447.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.1591, allocations: 0 / 447.3 MB, free: 8.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.1591, allocations: 4 kB / 447.4 MB, free: 8.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.1592, allocations: 29.69 kB / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1592, allocations: 0 / 447.4 MB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.881e-05/0.1593, allocations: 63.41 kB / 447.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.1593, allocations: 33.8 kB / 447.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1593, allocations: 3.984 kB / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1593, allocations: 0 / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1594, allocations: 0 / 447.5 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1594, allocations: 3.938 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1594, allocations: 4 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1594, allocations: 3.984 kB / 447.5 MB, free: 8.07 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.202e-05/0.1595, allocations: 139.5 kB / 447.6 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.1595, allocations: 4 kB / 447.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.254e-05/0.1595, allocations: 7.125 kB / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.1595, allocations: 0 / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1596, allocations: 4 kB / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1596, allocations: 0 / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.1597, allocations: 149.6 kB / 447.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1597, allocations: 4 kB / 447.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-06/0.1597, allocations: 0 / 447.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.1597, allocations: 3.938 kB / 447.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1597, allocations: 0 / 447.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1597, allocations: 0 / 447.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1597, allocations: 0 / 447.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1598, allocations: 102.8 kB / 447.9 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.1599, allocations: 77.39 kB / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1599, allocations: 0 / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.1599, allocations: 0 / 448 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.1599, allocations: 7.938 kB / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1599, allocations: 0 / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.545e-05/0.16, allocations: 75.28 kB / 448.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.16, allocations: 4.031 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1604, allocations: 120 kB / 448.2 MB, free: 7.277 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.0007418/0.1611, allocations: 178.7 kB / 448.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1613, allocations: 63.39 kB / 448.4 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1613, allocations: 0 / 448.4 MB, free: 7.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.1613, allocations: 51.41 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.1615, allocations: 7.953 kB / 448.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.1617, allocations: 74.77 kB / 448.5 MB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1621, allocations: 0.6809 MB / 449.2 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.865e-06/0.1621, allocations: 3.938 kB / 449.2 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.1621, allocations: 11.56 kB / 449.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1621, allocations: 0 / 449.2 MB, free: 6.133 MB / 382.1 MB Notification: Performance of Templates: time 0.009329/0.1714, allocations: 4.134 MB / 453.4 MB, free: 1.992 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.makefile (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)