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.001023/0.001023, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009758/0.0009758, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 0.9629/0.9629, allocations: 177 MB / 204.8 MB, free: 5.578 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.2438/0.2438, allocations: 34.86 MB / 296.3 MB, free: 0.4922 MB / 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 1.022e-06/1.022e-06, allocations: 0 / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.681e-05, allocations: 3.016 kB / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0008901/0.0009069, allocations: 0.4956 MB / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005212/0.006119, allocations: 4.678 MB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.006137, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.006155, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.006161, allocations: 0 / 383.9 MB, free: 12.89 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.004856/0.01102, allocations: 3.279 MB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.01107, allocations: 4 kB / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.0111, allocations: 3.984 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.01113, allocations: 0 / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.503e-05/0.01114, allocations: 4 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.01115, allocations: 0 / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/0.03108, allocations: 19.82 MB / 407 MB, free: 5.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.03109, allocations: 0 / 407 MB, free: 5.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.03112, allocations: 4 kB / 407 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02774/0.05886, allocations: 30.71 MB / 437.7 MB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.05887, allocations: 0 / 437.7 MB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05887, allocations: 0 / 437.7 MB, free: 6.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.05887, allocations: 0 / 437.7 MB, free: 6.988 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.006444/0.06532, allocations: 0.7017 MB / 438.4 MB, free: 6.242 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.06536, allocations: 16.03 kB / 438.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.0654, allocations: 1.281 kB / 438.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.759e-05/0.06546, allocations: 108.6 kB / 438.6 MB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.06547, allocations: 4.125 kB / 438.6 MB, free: 6.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.06548, allocations: 7.984 kB / 438.6 MB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.494e-05/0.06557, allocations: 51.41 kB / 438.6 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.06558, allocations: 0 / 438.6 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.06559, allocations: 4 kB / 438.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.06559, allocations: 0 / 438.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.06561, allocations: 33.64 kB / 438.7 MB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.599e-05/0.0657, allocations: 112.6 kB / 438.8 MB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.695e-05/0.06574, allocations: 52.75 kB / 438.8 MB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.06577, allocations: 41.42 kB / 438.9 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-06/0.06577, allocations: 0 / 438.9 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.0658, allocations: 59.09 kB / 438.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.0658, allocations: 0 / 438.9 MB, free: 5.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001661/0.06597, allocations: 126.7 kB / 439.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.06601, allocations: 81.11 kB / 439.1 MB, free: 5.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.065e-05/0.06605, allocations: 142.2 kB / 439.3 MB, free: 5.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.06606, allocations: 25.7 kB / 439.3 MB, free: 5.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.06609, allocations: 131 kB / 439.4 MB, free: 5.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.06611, allocations: 0 / 439.4 MB, free: 5.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.06613, allocations: 23.38 kB / 439.4 MB, free: 5.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.06623, allocations: 492.1 kB / 439.9 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.06625, allocations: 25.7 kB / 440 MB, free: 4.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.06626, allocations: 33.69 kB / 440 MB, free: 4.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.0663, allocations: 63.09 kB / 440 MB, free: 4.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.0663, allocations: 0 / 440 MB, free: 4.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002982/0.0666, allocations: 96.98 kB / 440.1 MB, free: 4.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.06663, allocations: 33.78 kB / 440.2 MB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.06663, allocations: 4 kB / 440.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.06664, allocations: 0 / 440.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-06/0.06665, allocations: 0 / 440.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.06665, allocations: 0 / 440.2 MB, free: 4.246 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/0.06666, allocations: 4 kB / 440.2 MB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.06667, allocations: 0 / 440.2 MB, free: 4.242 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 5.797e-05/0.06673, allocations: 178.3 kB / 440.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-06/0.06673, allocations: 7.938 kB / 440.4 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-06/0.06674, allocations: 6.938 kB / 440.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.06674, allocations: 0 / 440.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.06675, allocations: 7.984 kB / 440.4 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.06675, allocations: 0 / 440.4 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.846e-05/0.0668, allocations: 108.6 kB / 440.5 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.0668, allocations: 0 / 440.5 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.0668, allocations: 0 / 440.5 MB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.0668, allocations: 3.938 kB / 440.5 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.06681, allocations: 0 / 440.5 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.06681, allocations: 4 kB / 440.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.06681, allocations: 0 / 440.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.802e-05/0.06688, allocations: 135.8 kB / 440.6 MB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-06/0.06688, allocations: 4.031 kB / 440.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.0669, allocations: 3.938 kB / 440.6 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.049e-06/0.0669, allocations: 0 / 440.6 MB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.06691, allocations: 4 kB / 440.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.06692, allocations: 7.984 kB / 440.6 MB, free: 3.695 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.316e-05/0.06694, allocations: 119.2 kB / 440.8 MB, free: 3.578 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06694, allocations: 0 / 440.8 MB, free: 3.578 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1628/0.2297, allocations: 3.781 MB / 444.5 MB, free: 72.27 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.01781/0.2475, allocations: 1.071 MB / 445.6 MB, free: 72.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.2476, allocations: 121.7 kB / 445.7 MB, free: 72.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2476, allocations: 2.719 kB / 445.7 MB, free: 72.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.2477, allocations: 94.05 kB / 445.8 MB, free: 71.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000101/0.2478, allocations: 6.5 kB / 445.8 MB, free: 71.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.248, allocations: 116.5 kB / 445.9 MB, free: 71.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.231e-05/0.248, allocations: 54.16 kB / 446 MB, free: 71.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.49e-06/0.248, allocations: 0 / 446 MB, free: 71.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.248, allocations: 14.66 kB / 446 MB, free: 71.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.248, allocations: 0 / 446 MB, free: 71.73 MB / 410.7 MB Notification: Performance of Templates: time 0.1327/0.3807, allocations: 124.9 MB / 0.5576 GB, free: 12.31 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: 201.75236139819026]