Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001127/0.001127, allocations: 82.59 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001272/0.001272, allocations: 168.5 kB / 24.82 MB, free: 9.238 MB / 18.57 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.035/1.035, allocations: 177 MB / 205.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2855/0.2855, allocations: 34.86 MB / 296.6 MB, free: 500 kB / 266.7 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 4 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.274e-05, allocations: 6.25 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001083/0.001106, allocations: 0.509 MB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.006525, allocations: 4.608 MB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.006547, allocations: 0 / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.006563, allocations: 4 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.212e-05/0.006575, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.01087, allocations: 3.271 MB / 387.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.01091, allocations: 3.984 kB / 387.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.01095, allocations: 4 kB / 387.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.01098, allocations: 0 / 387.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.467e-05/0.01099, allocations: 0 / 387.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.592e-06/0.011, allocations: 4 kB / 387.6 MB, free: 9.383 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02089/0.03188, allocations: 19.81 MB / 407.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.0319, allocations: 0 / 407.4 MB, free: 5.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.03192, allocations: 8 kB / 407.4 MB, free: 5.543 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.033/0.06491, allocations: 30.75 MB / 438.2 MB, free: 6.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.236e-05/0.06493, allocations: 4 kB / 438.2 MB, free: 6.738 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.06493, allocations: 0 / 438.2 MB, free: 6.738 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.06493, allocations: 0 / 438.2 MB, free: 6.738 MB / 410.7 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.009774/0.07471, allocations: 0.6978 MB / 438.9 MB, free: 5.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/0.07477, allocations: 8.031 kB / 438.9 MB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.07481, allocations: 5.281 kB / 438.9 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.0749, allocations: 112.6 kB / 439 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.07492, allocations: 8.125 kB / 439 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.07493, allocations: 0 / 439 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.07504, allocations: 55.41 kB / 439.1 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.07505, allocations: 0 / 439.1 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.07506, allocations: 0 / 439.1 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.07507, allocations: 0 / 439.1 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.43e-05/0.07509, allocations: 41.61 kB / 439.1 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001005/0.07519, allocations: 89.27 kB / 439.2 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.07525, allocations: 60.73 kB / 439.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.07527, allocations: 33.39 kB / 439.3 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-06/0.07527, allocations: 0 / 439.3 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.07532, allocations: 67.09 kB / 439.4 MB, free: 5.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.07532, allocations: 0 / 439.4 MB, free: 5.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001861/0.0755, allocations: 126.7 kB / 439.5 MB, free: 5.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.07555, allocations: 77.11 kB / 439.6 MB, free: 5.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.045e-05/0.0756, allocations: 142.2 kB / 439.7 MB, free: 5.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.07561, allocations: 25.7 kB / 439.7 MB, free: 4.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.07564, allocations: 126.9 kB / 439.8 MB, free: 4.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.07566, allocations: 8.125 kB / 439.9 MB, free: 4.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.07569, allocations: 19.36 kB / 439.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.07584, allocations: 492.1 kB / 440.3 MB, free: 4.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.07586, allocations: 29.7 kB / 440.4 MB, free: 4.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.711e-05/0.07588, allocations: 25.7 kB / 440.4 MB, free: 4.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.379e-05/0.07593, allocations: 67.09 kB / 440.5 MB, free: 4.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.07593, allocations: 0 / 440.5 MB, free: 4.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.187e-05/0.076, allocations: 93.03 kB / 440.6 MB, free: 4.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.07604, allocations: 33.64 kB / 440.6 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.07605, allocations: 4.094 kB / 440.6 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.07606, allocations: 0 / 440.6 MB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.397e-06/0.07607, allocations: 8 kB / 440.6 MB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.07607, allocations: 0 / 440.6 MB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.07609, allocations: 0 / 440.6 MB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.07609, allocations: 0 / 440.6 MB, free: 4.02 MB / 410.7 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.234e-05/0.07619, allocations: 190.2 kB / 440.8 MB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.07619, allocations: 3.938 kB / 440.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.07621, allocations: 3 kB / 440.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.07621, allocations: 0 / 440.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.07621, allocations: 0 / 440.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.07622, allocations: 8 kB / 440.8 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.092e-05/0.07628, allocations: 89.27 kB / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.07628, allocations: 0 / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.8e-07/0.07628, allocations: 0 / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.07628, allocations: 0 / 440.9 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.07629, allocations: 4 kB / 440.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.07629, allocations: 7.875 kB / 440.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.07629, allocations: 7.922 kB / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.804e-05/0.07638, allocations: 123.9 kB / 441 MB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.07638, allocations: 0 / 441 MB, free: 3.516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.0764, allocations: 12.02 kB / 441 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.0764, allocations: 3.938 kB / 441 MB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.07642, allocations: 0 / 441 MB, free: 3.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.07642, allocations: 0 / 441 MB, free: 3.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.07646, allocations: 119.2 kB / 441.2 MB, free: 3.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07646, allocations: 0 / 441.2 MB, free: 3.383 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1856/0.2621, allocations: 3.786 MB / 445 MB, free: 72.16 MB / 410.7 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.01529/0.2774, allocations: 1.065 MB / 446 MB, free: 72.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.997e-05/0.2775, allocations: 120.2 kB / 446.1 MB, free: 71.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2775, allocations: 2.75 kB / 446.1 MB, free: 71.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.2775, allocations: 92.25 kB / 446.2 MB, free: 71.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.506e-05/0.2776, allocations: 3.469 kB / 446.2 MB, free: 71.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001358/0.2777, allocations: 118.7 kB / 446.3 MB, free: 71.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.486e-05/0.2777, allocations: 55.89 kB / 446.4 MB, free: 71.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.149e-06/0.2777, allocations: 0 / 446.4 MB, free: 71.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.2778, allocations: 75.08 kB / 446.5 MB, free: 71.57 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2778, allocations: 0 / 446.5 MB, free: 71.57 MB / 410.7 MB Notification: Performance of Templates: time 0.1367/0.4145, allocations: 125 MB / 0.558 GB, free: 11.81 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 214.52308593690395]