Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.001768/0.001768, 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.002418/0.002418, allocations: 217.3 kB / 23 MB, free: 5.57 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.493/1.493, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.243/0.243, allocations: 46.91 MB / 359.4 MB, free: 4.84 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003721/0.003721, allocations: 75.88 kB / 0.4946 GB, free: 8.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3839, allocations: 65.98 MB / 0.5591 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001586/0.3854, allocations: 0.4931 MB / 0.5595 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3876, allocations: 1.579 MB / 0.5611 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.3877, allocations: 0 / 0.5611 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.3877, allocations: 0 / 0.5611 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.3877, allocations: 3.938 kB / 0.5611 GB, free: 2.926 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.3885, allocations: 230.7 kB / 0.5613 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.021e-05/0.3886, allocations: 0 / 0.5613 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.3886, allocations: 4 kB / 0.5613 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.3886, allocations: 4 kB / 0.5613 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.443e-05/0.3886, allocations: 3.938 kB / 0.5613 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.3886, allocations: 3.984 kB / 0.5613 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009783/0.3896, allocations: 0.7415 MB / 0.562 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.3896, allocations: 3.984 kB / 0.562 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.3896, allocations: 4 kB / 0.5621 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.3904, allocations: 0.6418 MB / 0.5627 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3904, allocations: 0 / 0.5627 GB, free: 1.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3904, allocations: 0 / 0.5627 GB, free: 1.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3904, allocations: 0 / 0.5627 GB, free: 1.301 MB / 398.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.0005208/0.3909, allocations: 383.6 kB / 0.563 GB, free: 0.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3909, allocations: 8.031 kB / 0.5631 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.391, allocations: 0.9375 kB / 0.5631 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.3911, allocations: 160.4 kB / 0.5632 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3911, allocations: 4.375 kB / 0.5632 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3911, allocations: 384 / 0.5632 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.727e-05/0.3912, allocations: 30.02 kB / 0.5632 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3912, allocations: 0 / 0.5632 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3912, allocations: 7.984 kB / 0.5632 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3913, allocations: 4 kB / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.3913, allocations: 3.938 kB / 0.5633 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.3914, allocations: 149.7 kB / 0.5634 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.3915, allocations: 18.61 kB / 0.5634 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.3915, allocations: 4.859 kB / 0.5634 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-06/0.3915, allocations: 0 / 0.5634 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.3915, allocations: 64.2 kB / 0.5635 GB, free: 316 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3915, allocations: 4.062 kB / 0.5635 GB, free: 312 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001867/0.3917, allocations: 67.33 kB / 0.5636 GB, free: 232 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.3918, allocations: 81.11 kB / 0.5636 GB, free: 132 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.095e-05/0.3918, allocations: 93.81 kB / 0.5637 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.3919, allocations: 25.7 kB / 0.5637 GB, free: 16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.3919, allocations: 80.14 kB / 0.5638 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3919, allocations: 0 / 0.5638 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.392, allocations: 13.84 kB / 0.5638 GB, free: 15.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3921, allocations: 322.8 kB / 0.5641 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.3921, allocations: 0 / 0.5641 GB, free: 15.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.3921, allocations: 0 / 0.5641 GB, free: 15.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.3922, allocations: 60.27 kB / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3922, allocations: 0 / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.128e-05/0.3923, allocations: 63.34 kB / 0.5643 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.3923, allocations: 41.62 kB / 0.5643 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3923, allocations: 8.031 kB / 0.5643 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3923, allocations: 0 / 0.5643 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3923, allocations: 3.938 kB / 0.5643 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3923, allocations: 4 kB / 0.5643 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.3923, allocations: 0 / 0.5643 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3923, allocations: 0 / 0.5643 GB, free: 15.36 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.52e-05/0.3924, allocations: 135.5 kB / 0.5644 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.3924, allocations: 3.938 kB / 0.5644 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-06/0.3925, allocations: 3.125 kB / 0.5644 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.3925, allocations: 4 kB / 0.5645 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3925, allocations: 4 kB / 0.5645 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3925, allocations: 3.984 kB / 0.5645 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.3927, allocations: 145.7 kB / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3927, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3927, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3927, allocations: 3.938 kB / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-06/0.3927, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3927, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3927, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3928, allocations: 98.77 kB / 0.5647 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.3929, allocations: 77.11 kB / 0.5648 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3929, allocations: 3.938 kB / 0.5648 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.3929, allocations: 4 kB / 0.5648 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.3929, allocations: 7.984 kB / 0.5648 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3929, allocations: 0 / 0.5648 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.3929, allocations: 76.3 kB / 0.5649 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3929, allocations: 0 / 0.5649 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.3933, allocations: 119.9 kB / 0.565 GB, free: 14.58 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.0007356/0.3941, allocations: 174.2 kB / 0.5651 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.3942, allocations: 67.41 kB / 0.5652 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3942, allocations: 3.938 kB / 0.5652 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.3942, allocations: 55.34 kB / 0.5653 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.3944, allocations: 7.984 kB / 0.5653 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.3947, allocations: 92.98 kB / 0.5654 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.3951, allocations: 0.669 MB / 0.566 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.641e-06/0.3951, allocations: 0 / 0.566 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.3951, allocations: 7.562 kB / 0.566 GB, free: 13.43 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3951, allocations: 4 kB / 0.566 GB, free: 13.42 MB / 414.1 MB Notification: Performance of Templates: time 0.0108/0.4059, allocations: 3.92 MB / 0.5698 GB, free: 9.496 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.371432431973517]