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.001518/0.001518, 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.001612/0.001612, 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.9217/0.9217, allocations: 177 MB / 204.8 MB, free: 5.594 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.2565/0.2565, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.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.943e-06/1.943e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.386e-05, allocations: 7.094 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001716/0.00175, allocations: 0.4955 MB / 379.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.004939, allocations: 2.121 MB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.004959, allocations: 4 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.004978, allocations: 0 / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-06/0.004984, allocations: 0 / 381.4 MB, free: 15.47 MB / 362.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.001855/0.006839, allocations: 0.7673 MB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.508e-05/0.006884, allocations: 4 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.017e-05/0.006914, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.006939, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.006956, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.694e-06/0.006963, allocations: 0 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.008574, allocations: 1.56 MB / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-06/0.008581, allocations: 0 / 383.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.008601, allocations: 4 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.01016, allocations: 1.867 MB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.01017, allocations: 0 / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01017, allocations: 0 / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.01017, allocations: 0 / 385.6 MB, free: 11.26 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.0006447/0.01082, allocations: 469.2 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.01086, allocations: 12.03 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.0109, allocations: 4.922 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.359e-05/0.01095, allocations: 108.6 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.01096, allocations: 384 / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.01097, allocations: 384 / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.01105, allocations: 55.97 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.01105, allocations: 192 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.01106, allocations: 384 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.01107, allocations: 3.938 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.01109, allocations: 33.64 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.216e-05/0.01117, allocations: 116.6 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.01121, allocations: 52.8 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.01123, allocations: 33.39 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.01124, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.01127, allocations: 63.16 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.01127, allocations: 0 / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.01142, allocations: 122.7 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.01145, allocations: 81.05 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.0115, allocations: 142.2 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.01151, allocations: 25.7 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.01154, allocations: 131 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.01155, allocations: 8.297 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.01157, allocations: 15.38 kB / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01169, allocations: 0.4884 MB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.01171, allocations: 29.7 kB / 387.5 MB, free: 9.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.084e-05/0.01172, allocations: 29.64 kB / 387.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.149e-05/0.01176, allocations: 63.09 kB / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01176, allocations: 0 / 387.6 MB, free: 8.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.69e-05/0.01182, allocations: 93.03 kB / 387.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.01184, allocations: 37.8 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.01185, allocations: 0 / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.01186, allocations: 0 / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.01186, allocations: 4 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01187, allocations: 3.938 kB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.01188, allocations: 0 / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.01189, allocations: 0 / 387.8 MB, free: 8.766 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 7.124e-05/0.01196, allocations: 182.3 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-06/0.01196, allocations: 3.984 kB / 387.9 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-06/0.01197, allocations: 3 kB / 387.9 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01197, allocations: 4 kB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01198, allocations: 4 kB / 388 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01198, allocations: 7.922 kB / 388 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.032e-05/0.01203, allocations: 108.6 kB / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-07/0.01203, allocations: 0 / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.01203, allocations: 0 / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.01203, allocations: 0 / 388.1 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.01204, allocations: 4 kB / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.01204, allocations: 0 / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01204, allocations: 3.938 kB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.402e-05/0.01212, allocations: 135.8 kB / 388.2 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-06/0.01212, allocations: 4 kB / 388.2 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.01213, allocations: 7.984 kB / 388.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-06/0.01214, allocations: 0 / 388.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.01215, allocations: 0 / 388.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.01215, allocations: 0 / 388.2 MB, free: 8.223 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.01218, allocations: 123.1 kB / 388.3 MB, free: 8.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01218, allocations: 0 / 388.3 MB, free: 8.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.01278, allocations: 295.6 kB / 388.6 MB, free: 7.812 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.0009407/0.01372, allocations: 0.5011 MB / 389.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.891e-05/0.01382, allocations: 134.4 kB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01382, allocations: 0 / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.01385, allocations: 88.8 kB / 389.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.592e-05/0.01393, allocations: 3.984 kB / 389.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001546/0.01409, allocations: 109.7 kB / 389.5 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.628e-05/0.01411, allocations: 55.36 kB / 389.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.059e-06/0.01412, allocations: 0 / 389.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.01413, allocations: 8.5 kB / 389.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.01413, allocations: 0 / 389.5 MB, free: 6.812 MB / 362.7 MB Notification: Performance of Templates: time 0.008596/0.02273, allocations: 7.543 MB / 397.1 MB, free: 15.26 MB / 378.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.236924118362367]