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.001512/0.001512, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001558/0.001558, allocations: 160.9 kB / 24.27 MB, free: 172 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 1.484/1.484, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 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.3643/0.3643, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 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 2.145e-06/2.145e-06, allocations: 0 / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.118e-05, allocations: 10.25 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001746/0.001777, allocations: 0.4931 MB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.005919, allocations: 2.082 MB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.005947, allocations: 0 / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.005963, allocations: 0 / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.661e-06/0.005969, allocations: 0 / 379.8 MB, free: 352 kB / 346.7 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.00278/0.008749, allocations: 0.7595 MB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.008802, allocations: 0 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.008844, allocations: 7.984 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.997e-05/0.008874, allocations: 4 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.876e-05/0.008893, allocations: 3.938 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.355e-06/0.008901, allocations: 0 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.012, allocations: 1.552 MB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.01201, allocations: 0 / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.01204, allocations: 4 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.01529, allocations: 1.863 MB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.0153, allocations: 0 / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0153, allocations: 0 / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.0153, allocations: 0 / 384 MB, free: 12.14 MB / 362.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.001028/0.01633, allocations: 367.3 kB / 384.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.01638, allocations: 8.031 kB / 384.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.01643, allocations: 4.938 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.01654, allocations: 105.8 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.01656, allocations: 384 / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.01657, allocations: 384 / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.0167, allocations: 67.91 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.01671, allocations: 192 / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.01671, allocations: 384 / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.01672, allocations: 3.938 kB / 384.5 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.01676, allocations: 29.7 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.01691, allocations: 97.31 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.01698, allocations: 44.31 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.01702, allocations: 30.56 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.01703, allocations: 0 / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.753e-05/0.01711, allocations: 68.27 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.01711, allocations: 4 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002563/0.01736, allocations: 114.8 kB / 384.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.01743, allocations: 81.05 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.0175, allocations: 89.86 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.01752, allocations: 25.7 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.01757, allocations: 88.14 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.01759, allocations: 0 / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.01762, allocations: 9.719 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.01779, allocations: 314.8 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.01782, allocations: 29.69 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.01785, allocations: 29.83 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.01792, allocations: 68.2 kB / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01792, allocations: 0 / 385.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001235/0.01805, allocations: 93.03 kB / 385.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.01809, allocations: 29.7 kB / 385.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01809, allocations: 4 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01811, allocations: 0 / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.01811, allocations: 0 / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01812, allocations: 3.938 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.01814, allocations: 4.047 kB / 385.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.01814, allocations: 4 kB / 385.7 MB, free: 10.08 MB / 362.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 0.0001129/0.01825, allocations: 139.5 kB / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-06/0.01826, allocations: 0 / 385.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.189e-05/0.01828, allocations: 6.984 kB / 385.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01828, allocations: 4 kB / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.01828, allocations: 4 kB / 385.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01829, allocations: 7.875 kB / 385.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.33e-05/0.01838, allocations: 93.33 kB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01838, allocations: 0 / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-07/0.01838, allocations: 0 / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01838, allocations: 8 kB / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.01839, allocations: 0 / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01839, allocations: 0 / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01839, allocations: 0 / 386 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.01854, allocations: 120.5 kB / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-06/0.01855, allocations: 0 / 386.1 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01857, allocations: 4 kB / 386.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.01858, allocations: 3.984 kB / 386.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.01859, allocations: 0 / 386.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.0186, allocations: 3.984 kB / 386.1 MB, free: 9.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.01865, allocations: 83.25 kB / 386.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01865, allocations: 0 / 386.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001117/0.01977, allocations: 291.6 kB / 386.5 MB, free: 9.254 MB / 362.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.002128/0.0219, allocations: 0.5189 MB / 387 MB, free: 8.742 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.02206, allocations: 110.8 kB / 387.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02206, allocations: 0 / 387.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.02213, allocations: 85.11 kB / 387.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.02227, allocations: 2.812 kB / 387.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.02254, allocations: 108.1 kB / 387.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.0226, allocations: 59.36 kB / 387.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.02261, allocations: 0 / 387.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.02263, allocations: 12.5 kB / 387.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02263, allocations: 0 / 387.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of Templates: time 0.01619/0.03882, allocations: 7.422 MB / 394.8 MB, free: 0.8438 MB / 362.7 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.02874839596916]