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.001323/0.001323, allocations: 104 kB / 15.98 MB, free: 6.359 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.001407/0.001406, allocations: 190.7 kB / 16.91 MB, free: 6.191 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.657/1.657, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.3725/0.3725, allocations: 43.49 MB / 313.6 MB, free: 8.289 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.0016/0.001601, allocations: 63.91 kB / 382.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1492, allocations: 57.78 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001769/0.1511, allocations: 0.5503 MB / 440.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.1536, allocations: 1.541 MB / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.1537, allocations: 4 kB / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1537, allocations: 0 / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1537, allocations: 0 / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008461/0.1546, allocations: 207.6 kB / 442.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.682e-05/0.1546, allocations: 4 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.1547, allocations: 7.875 kB / 442.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.1547, allocations: 3.984 kB / 442.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.628e-05/0.1547, allocations: 4 kB / 442.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.1547, allocations: 0 / 442.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008908/0.1556, allocations: 0.6986 MB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1556, allocations: 0 / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.1557, allocations: 0 / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007224/0.1564, allocations: 0.6474 MB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1564, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1564, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1564, allocations: 0 / 443.7 MB, free: 10.82 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.0005489/0.157, allocations: 369.3 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1571, allocations: 11.89 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1571, allocations: 12.88 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1572, allocations: 160.4 kB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1573, allocations: 384 / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1573, allocations: 384 / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1574, allocations: 38 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1575, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1575, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1575, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.1575, allocations: 0 / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1577, allocations: 157.7 kB / 444.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.1578, allocations: 26.52 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.1578, allocations: 4.859 kB / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-06/0.1578, allocations: 0 / 444.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.571e-05/0.1579, allocations: 64.3 kB / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.1579, allocations: 0 / 444.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002431/0.1581, allocations: 67.3 kB / 444.6 MB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1582, allocations: 85.17 kB / 444.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.1582, allocations: 93.86 kB / 444.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1583, allocations: 29.64 kB / 444.8 MB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.1583, allocations: 80.14 kB / 444.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1583, allocations: 0 / 444.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1584, allocations: 13.72 kB / 444.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1585, allocations: 310.8 kB / 445.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.1585, allocations: 3.984 kB / 445.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.1585, allocations: 8 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.1586, allocations: 60.27 kB / 445.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1586, allocations: 0 / 445.2 MB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.725e-05/0.1587, allocations: 59.41 kB / 445.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.1587, allocations: 37.62 kB / 445.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1587, allocations: 7.938 kB / 445.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1588, allocations: 3.938 kB / 445.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.1588, allocations: 0 / 445.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1588, allocations: 0 / 445.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.1588, allocations: 4.094 kB / 445.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1588, allocations: 0 / 445.3 MB, free: 8.875 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.251e-05/0.1589, allocations: 135.5 kB / 445.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.1589, allocations: 3.938 kB / 445.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.279e-05/0.1589, allocations: 7.125 kB / 445.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1589, allocations: 0 / 445.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.159, allocations: 0 / 445.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.159, allocations: 4 kB / 445.5 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.1591, allocations: 145.7 kB / 445.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1591, allocations: 4 kB / 445.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-07/0.1591, allocations: 0 / 445.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1591, allocations: 3.938 kB / 445.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1591, allocations: 0 / 445.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1591, allocations: 4 kB / 445.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1591, allocations: 0 / 445.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.728e-05/0.1592, allocations: 90.77 kB / 445.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.1593, allocations: 77.39 kB / 445.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.1593, allocations: 11.97 kB / 445.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-06/0.1593, allocations: 0 / 445.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.1593, allocations: 3.984 kB / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1593, allocations: 0 / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.702e-05/0.1594, allocations: 79.22 kB / 445.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1594, allocations: 0 / 445.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.1598, allocations: 124 kB / 446 MB, free: 8.086 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 (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.0007458/0.1605, allocations: 190.8 kB / 446.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1607, allocations: 55.41 kB / 446.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1607, allocations: 0 / 446.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.1607, allocations: 63.41 kB / 446.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.1609, allocations: 11.34 kB / 446.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.1611, allocations: 84.84 kB / 446.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.1613, allocations: 0.669 MB / 447.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.943e-06/0.1614, allocations: 4 kB / 447.1 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.135e-05/0.1614, allocations: 7.438 kB / 447.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1614, allocations: 0 / 447.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of Templates: time 0.006758/0.1681, allocations: 3.916 MB / 451 MB, free: 3.008 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)