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.0009032/0.0009032, 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.0009204/0.0009204, 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.9596/0.9596, allocations: 177 MB / 204.8 MB, free: 5.57 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.2637/0.2637, allocations: 34.85 MB / 296.3 MB, free: 0.543 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 2.786e-06/2.786e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.756e-05, allocations: 2.312 kB / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001803/0.00184, allocations: 0.5021 MB / 379.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.009611, allocations: 4.689 MB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.009631, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.009649, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-06/0.009655, allocations: 4 kB / 383.9 MB, free: 12.88 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.007519/0.01717, allocations: 3.275 MB / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.01723, allocations: 0 / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.01726, allocations: 0 / 387.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.715e-05/0.01729, allocations: 3.984 kB / 387.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.569e-05/0.0173, allocations: 4 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-06/0.01731, allocations: 0 / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02362/0.04093, allocations: 19.8 MB / 407 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.04094, allocations: 0 / 407 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.04098, allocations: 7.984 kB / 407 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03584/0.07682, allocations: 30.71 MB / 437.7 MB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.07683, allocations: 0 / 437.7 MB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.07683, allocations: 0 / 437.7 MB, free: 7.004 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.07684, allocations: 4 kB / 437.7 MB, free: 7 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.00715/0.08399, allocations: 0.6978 MB / 438.4 MB, free: 6.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.08403, allocations: 8.031 kB / 438.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.08408, allocations: 5.266 kB / 438.5 MB, free: 6.246 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.049e-05/0.08414, allocations: 108.6 kB / 438.6 MB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.08415, allocations: 8.125 kB / 438.6 MB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.08417, allocations: 0 / 438.6 MB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.296e-05/0.08426, allocations: 67.33 kB / 438.6 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.08427, allocations: 4 kB / 438.6 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.08428, allocations: 0 / 438.6 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.08428, allocations: 0 / 438.6 MB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.0843, allocations: 25.7 kB / 438.7 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.473e-05/0.08439, allocations: 112.6 kB / 438.8 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.08444, allocations: 52.7 kB / 438.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.08446, allocations: 41.42 kB / 438.9 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-06/0.08447, allocations: 0 / 438.9 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.0845, allocations: 63.09 kB / 438.9 MB, free: 5.648 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.0845, allocations: 0 / 438.9 MB, free: 5.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.08467, allocations: 126.8 kB / 439.1 MB, free: 5.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.08471, allocations: 77.11 kB / 439.1 MB, free: 5.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.08475, allocations: 142.2 kB / 439.3 MB, free: 5.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.08476, allocations: 25.7 kB / 439.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.08479, allocations: 130.8 kB / 439.4 MB, free: 5.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.08481, allocations: 4 kB / 439.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.08483, allocations: 19.38 kB / 439.4 MB, free: 5.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.08496, allocations: 496.1 kB / 439.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.08499, allocations: 29.7 kB / 440 MB, free: 4.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.085, allocations: 25.83 kB / 440 MB, free: 4.496 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.08504, allocations: 67.16 kB / 440 MB, free: 4.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.08505, allocations: 0 / 440 MB, free: 4.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.433e-05/0.08511, allocations: 97.03 kB / 440.1 MB, free: 4.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.08514, allocations: 29.7 kB / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.08514, allocations: 0 / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.08516, allocations: 0 / 440.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-06/0.08516, allocations: 3.938 kB / 440.2 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.08517, allocations: 4 kB / 440.2 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.163e-05/0.08518, allocations: 0 / 440.2 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.08518, allocations: 32 / 440.2 MB, free: 4.258 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 7.853e-05/0.08526, allocations: 190.3 kB / 440.4 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.08527, allocations: 3.938 kB / 440.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.135e-05/0.08528, allocations: 3 kB / 440.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.08528, allocations: 0 / 440.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.08529, allocations: 0 / 440.4 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.08529, allocations: 7.938 kB / 440.4 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.738e-05/0.08535, allocations: 108.6 kB / 440.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.08535, allocations: 0 / 440.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.08535, allocations: 0 / 440.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.08535, allocations: 7.938 kB / 440.5 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.08536, allocations: 8 kB / 440.5 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.08536, allocations: 0 / 440.5 MB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.08536, allocations: 3.984 kB / 440.5 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.08546, allocations: 127.8 kB / 440.6 MB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-06/0.08547, allocations: 3.984 kB / 440.6 MB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.08549, allocations: 7.938 kB / 440.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-06/0.0855, allocations: 0 / 440.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.08551, allocations: 0 / 440.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.08551, allocations: 0 / 440.6 MB, free: 3.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.08554, allocations: 119.2 kB / 440.8 MB, free: 3.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08554, allocations: 4.031 kB / 440.8 MB, free: 3.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1671/0.2526, allocations: 3.788 MB / 444.5 MB, free: 72.2 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.01872/0.2714, allocations: 1.063 MB / 445.6 MB, free: 72.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.2715, allocations: 121 kB / 445.7 MB, free: 71.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2715, allocations: 0 / 445.7 MB, free: 71.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.2715, allocations: 94.67 kB / 445.8 MB, free: 71.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.2716, allocations: 0.625 kB / 445.8 MB, free: 71.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002074/0.2718, allocations: 116.6 kB / 445.9 MB, free: 71.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.267e-05/0.2719, allocations: 56.75 kB / 446 MB, free: 71.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.2719, allocations: 0 / 446 MB, free: 71.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.2719, allocations: 14.47 kB / 446 MB, free: 71.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2719, allocations: 0 / 446 MB, free: 71.67 MB / 410.7 MB Notification: Performance of Templates: time 0.1225/0.3943, allocations: 116.9 MB / 0.5497 GB, free: 4.293 MB / 426.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: 8.992886594962329]