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.001803/0.001803, allocations: 86.48 kB / 20.68 MB, free: 1.035 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.00222/0.00222, allocations: 159.1 kB / 23.95 MB, free: 4.168 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.535/1.535, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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.2392/0.2392, allocations: 34.25 MB / 294.8 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.854e-05, allocations: 8.609 kB / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001623/0.001651, allocations: 0.4971 MB / 443.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.005109, allocations: 2.071 MB / 445.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.005129, allocations: 0 / 445.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.005147, allocations: 4 kB / 445.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.005153, allocations: 0 / 445.2 MB, free: 2.723 MB / 366.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.002202/0.007354, allocations: 0.767 MB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.007402, allocations: 4 kB / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.007442, allocations: 0 / 446 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.007466, allocations: 3.984 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.712e-05/0.007483, allocations: 0 / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.843e-06/0.00749, allocations: 0 / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.009972, allocations: 1.548 MB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.009982, allocations: 0 / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.01, allocations: 3.938 kB / 447.5 MB, free: 408 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2078/0.2178, allocations: 1.855 MB / 449.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2178, allocations: 0 / 449.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2178, allocations: 0 / 449.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.2178, allocations: 0 / 449.4 MB, free: 15.82 MB / 366.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.001295/0.2191, allocations: 366.7 kB / 449.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2192, allocations: 9.562 kB / 449.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.2192, allocations: 4.828 kB / 449.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.416e-05/0.2193, allocations: 108.5 kB / 449.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.2193, allocations: 384 / 449.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.2193, allocations: 1.719 kB / 449.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.2194, allocations: 55.62 kB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2194, allocations: 0.8438 kB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2194, allocations: 2.438 kB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2194, allocations: 3.938 kB / 449.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.2195, allocations: 34.72 kB / 450 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.713e-05/0.2195, allocations: 95.31 kB / 450.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.2196, allocations: 46.77 kB / 450.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.2196, allocations: 35.31 kB / 450.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.2196, allocations: 0.7031 kB / 450.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2197, allocations: 59.27 kB / 450.2 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2197, allocations: 1.969 kB / 450.2 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.000188/0.2198, allocations: 120.2 kB / 450.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.2199, allocations: 81.97 kB / 450.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.156e-05/0.2199, allocations: 94.41 kB / 450.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.2199, allocations: 25.7 kB / 450.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.103e-05/0.2199, allocations: 83.45 kB / 450.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2199, allocations: 3.953 kB / 450.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/0.22, allocations: 14.25 kB / 450.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.22, allocations: 311.6 kB / 450.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.22, allocations: 28.77 kB / 450.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.22, allocations: 29.84 kB / 451 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.2201, allocations: 64.73 kB / 451 MB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2201, allocations: 0 / 451 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.245e-05/0.2201, allocations: 92 kB / 451.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.2202, allocations: 33.25 kB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2202, allocations: 2.25 kB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2202, allocations: 1.156 kB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.2202, allocations: 1.75 kB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2202, allocations: 3.578 kB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.838e-05/0.2202, allocations: 3.938 kB / 451.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2202, allocations: 0.9688 kB / 451.2 MB, free: 13.98 MB / 366.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 5.142e-05/0.2203, allocations: 143 kB / 451.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.2203, allocations: 2.25 kB / 451.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.008e-05/0.2203, allocations: 3 kB / 451.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2203, allocations: 0.5625 kB / 451.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2203, allocations: 1.312 kB / 451.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2203, allocations: 3.938 kB / 451.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.201e-05/0.2203, allocations: 100 kB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2203, allocations: 2.141 kB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-06/0.2203, allocations: 3.938 kB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2203, allocations: 0 / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2203, allocations: 2.234 kB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2203, allocations: 0 / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2203, allocations: 2.125 kB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.2204, allocations: 124.2 kB / 451.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.2204, allocations: 2.938 kB / 451.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.2204, allocations: 2.594 kB / 451.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.2205, allocations: 3.562 kB / 451.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.2205, allocations: 2.188 kB / 451.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2205, allocations: 0.7031 kB / 451.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 1.149e-05/0.2205, allocations: 75.28 kB / 451.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2205, allocations: 2.281 kB / 451.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001755/0.2222, allocations: 296.3 kB / 451.9 MB, free: 13.47 MB / 366.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.002201/0.2244, allocations: 0.5142 MB / 452.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.2245, allocations: 116.8 kB / 452.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2245, allocations: 0 / 452.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.2246, allocations: 82.27 kB / 452.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.2247, allocations: 8.688 kB / 452.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.2249, allocations: 109.1 kB / 452.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.906e-05/0.2249, allocations: 56.92 kB / 452.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.991e-06/0.2249, allocations: 0 / 452.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.415e-05/0.2249, allocations: 11.25 kB / 452.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2249, allocations: 4.125 kB / 452.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of Templates: time 0.01706/0.242, allocations: 7.381 MB / 460.2 MB, free: 12.21 MB / 366.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.341280609369278] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.2502959780395031 0.262658744 0.041729310000000006 Calling exit ...