Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 218 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.91 MB / 359.4 MB, free: 4.844 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 79.84 kB / 0.4946 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 65.98 MB / 0.5591 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001823/0.3457, allocations: 0.5047 MB / 0.5596 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.349, allocations: 2.164 MB / 0.5617 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.12e-05/0.349, allocations: 0 / 0.5617 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.3491, allocations: 3.938 kB / 0.5617 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.3491, allocations: 4 kB / 0.5617 GB, free: 2.387 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.351, allocations: 0.7165 MB / 0.5624 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.3511, allocations: 8 kB / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3512, allocations: 0 / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.735e-05/0.3512, allocations: 0 / 0.5624 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.273e-05/0.3512, allocations: 3.984 kB / 0.5624 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.3512, allocations: 3.984 kB / 0.5624 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.3533, allocations: 1.576 MB / 0.5639 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.3533, allocations: 0 / 0.5639 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.3533, allocations: 3.938 kB / 0.5639 GB, free: 80 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.355, allocations: 1.558 MB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.355, allocations: 0 / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.355, allocations: 0 / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.355, allocations: 0 / 0.5655 GB, free: 14.52 MB / 414.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.0006302/0.3556, allocations: 419.3 kB / 0.5659 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3557, allocations: 16.02 kB / 0.5659 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3557, allocations: 4.938 kB / 0.5659 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.3558, allocations: 168.3 kB / 0.566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3558, allocations: 384 / 0.566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3559, allocations: 384 / 0.566 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/0.3559, allocations: 34.02 kB / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.356, allocations: 0 / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.356, allocations: 0 / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.356, allocations: 0 / 0.5661 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.356, allocations: 7.938 kB / 0.5661 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.3561, allocations: 153.7 kB / 0.5662 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.3562, allocations: 18.52 kB / 0.5662 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.3562, allocations: 8.953 kB / 0.5662 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3562, allocations: 0 / 0.5662 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/0.3563, allocations: 60.2 kB / 0.5663 GB, free: 13.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3563, allocations: 0 / 0.5663 GB, free: 13.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001984/0.3565, allocations: 71.47 kB / 0.5664 GB, free: 13.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.3565, allocations: 81.11 kB / 0.5664 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.27e-05/0.3566, allocations: 93.8 kB / 0.5665 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3566, allocations: 25.7 kB / 0.5666 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.3566, allocations: 80.14 kB / 0.5666 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3567, allocations: 4 kB / 0.5666 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.3567, allocations: 9.719 kB / 0.5667 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3568, allocations: 314.8 kB / 0.567 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.3568, allocations: 7.984 kB / 0.567 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-06/0.3568, allocations: 4 kB / 0.567 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.447e-05/0.3569, allocations: 64.2 kB / 0.567 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3569, allocations: 0 / 0.567 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.148e-05/0.357, allocations: 55.41 kB / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.357, allocations: 41.62 kB / 0.5671 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.357, allocations: 0 / 0.5671 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.357, allocations: 0 / 0.5671 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.357, allocations: 3.938 kB / 0.5671 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3571, allocations: 4.094 kB / 0.5671 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.3571, allocations: 4 kB / 0.5671 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3571, allocations: 4 kB / 0.5671 GB, free: 12.53 MB / 414.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.327e-05/0.3572, allocations: 131.5 kB / 0.5673 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.427e-06/0.3572, allocations: 3.938 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.368e-06/0.3572, allocations: 3.125 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3572, allocations: 4 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3572, allocations: 0 / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3572, allocations: 4 kB / 0.5673 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.3573, allocations: 149.7 kB / 0.5674 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3573, allocations: 0 / 0.5674 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3573, allocations: 0 / 0.5674 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3573, allocations: 7.875 kB / 0.5674 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3573, allocations: 4 kB / 0.5674 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.3573, allocations: 0 / 0.5674 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3573, allocations: 0 / 0.5674 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.3574, allocations: 94.81 kB / 0.5675 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3575, allocations: 85.08 kB / 0.5676 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3575, allocations: 3.938 kB / 0.5676 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-06/0.3575, allocations: 0 / 0.5676 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.3575, allocations: 7.984 kB / 0.5676 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3575, allocations: 4 kB / 0.5676 GB, free: 11.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.406e-05/0.3576, allocations: 75.28 kB / 0.5677 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3576, allocations: 0 / 0.5677 GB, free: 11.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007772/0.3584, allocations: 271.6 kB / 0.5679 GB, free: 11.59 MB / 414.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.001277/0.3596, allocations: 414.3 kB / 0.5683 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3597, allocations: 59.41 kB / 0.5684 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3597, allocations: 0 / 0.5684 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.3598, allocations: 59.39 kB / 0.5685 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3599, allocations: 9 kB / 0.5685 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.3601, allocations: 88.92 kB / 0.5685 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3605, allocations: 0.669 MB / 0.5692 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.841e-06/0.3605, allocations: 3.938 kB / 0.5692 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.3606, allocations: 15.56 kB / 0.5692 GB, free: 10.21 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3606, allocations: 0 / 0.5692 GB, free: 10.21 MB / 414.1 MB Notification: Performance of Templates: time 0.01422/0.3748, allocations: 7.305 MB / 0.5764 GB, free: 2.898 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.427484078332782]