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.001541/0.001541, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001184/0.001184, allocations: 164.2 kB / 24.99 MB, free: 8.801 MB / 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.9882/0.9882, allocations: 177 MB / 205.2 MB, free: 5.605 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.2773/0.2773, allocations: 34.86 MB / 296.6 MB, free: 0.582 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.774e-06/1.774e-06, allocations: 0 / 378.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.211e-05/3.388e-05, allocations: 12.58 kB / 378.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001845/0.001879, allocations: 0.5007 MB / 379.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003505/0.005384, allocations: 2.113 MB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.005422, allocations: 4 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.005444, allocations: 4 kB / 381.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.647e-06/0.005453, allocations: 0 / 381.4 MB, free: 15.82 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.002314/0.007767, allocations: 0.7596 MB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.007831, allocations: 4 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.007872, allocations: 0 / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.007901, allocations: 0 / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.007921, allocations: 0 / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.007929, allocations: 3.938 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.01019, allocations: 1.56 MB / 383.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.0102, allocations: 4 kB / 383.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.01022, allocations: 0 / 383.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.01262, allocations: 1.863 MB / 385.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.01263, allocations: 0 / 385.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.01263, allocations: 0 / 385.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.01263, allocations: 0 / 385.5 MB, free: 11.62 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.0008703/0.0135, allocations: 473.3 kB / 386 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.01355, allocations: 8.031 kB / 386 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.0136, allocations: 0.9375 kB / 386 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.66e-05/0.01369, allocations: 108.6 kB / 386.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.01371, allocations: 384 / 386.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.01372, allocations: 384 / 386.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.01384, allocations: 63.89 kB / 386.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.01385, allocations: 192 / 386.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.01386, allocations: 384 / 386.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.01387, allocations: 3.938 kB / 386.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.0139, allocations: 29.7 kB / 386.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.01403, allocations: 112.6 kB / 386.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.0141, allocations: 52.8 kB / 386.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.01412, allocations: 33.39 kB / 386.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.491e-06/0.01413, allocations: 3.938 kB / 386.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.01418, allocations: 67.14 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.01418, allocations: 3.938 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000206/0.01438, allocations: 114.8 kB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.01444, allocations: 85.03 kB / 386.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.0145, allocations: 142.2 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.01451, allocations: 29.83 kB / 386.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.01455, allocations: 126.9 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.01457, allocations: 8.297 kB / 387 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.01461, allocations: 15.38 kB / 387 MB, free: 9.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01476, allocations: 496.1 kB / 387.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.01478, allocations: 29.7 kB / 387.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.0148, allocations: 25.7 kB / 387.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.756e-05/0.01487, allocations: 71.02 kB / 387.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01487, allocations: 0 / 387.6 MB, free: 9.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.782e-05/0.01497, allocations: 85.2 kB / 387.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.015, allocations: 37.7 kB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01501, allocations: 0 / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01503, allocations: 0 / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.01503, allocations: 4 kB / 387.7 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.01504, allocations: 7.922 kB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.01506, allocations: 0 / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.01506, allocations: 0 / 387.7 MB, free: 9.125 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 9.909e-05/0.01516, allocations: 182.3 kB / 387.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.01517, allocations: 0 / 387.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.171e-05/0.01518, allocations: 7 kB / 387.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01519, allocations: 4 kB / 387.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01519, allocations: 0 / 387.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01519, allocations: 7.938 kB / 387.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.707e-05/0.01527, allocations: 112.6 kB / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01527, allocations: 0 / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.332e-06/0.01527, allocations: 0 / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01528, allocations: 0 / 388 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01529, allocations: 4 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01529, allocations: 0 / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01529, allocations: 0 / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.01542, allocations: 143.7 kB / 388.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.01543, allocations: 4 kB / 388.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.01545, allocations: 0 / 388.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.01546, allocations: 4 kB / 388.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.01548, allocations: 0 / 388.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.01548, allocations: 0 / 388.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.01552, allocations: 123.1 kB / 388.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01552, allocations: 0 / 388.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001127/0.01665, allocations: 295.6 kB / 388.6 MB, free: 8.172 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.001722/0.01837, allocations: 0.5074 MB / 389.1 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.0185, allocations: 126.5 kB / 389.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0185, allocations: 0 / 389.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.01854, allocations: 92.8 kB / 389.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.81e-05/0.01864, allocations: 0 / 389.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.01884, allocations: 109.7 kB / 389.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.01887, allocations: 59.34 kB / 389.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.46e-06/0.01888, allocations: 0 / 389.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.01889, allocations: 8.5 kB / 389.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01889, allocations: 0 / 389.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of Templates: time 0.01082/0.02971, allocations: 7.545 MB / 397 MB, free: 15.62 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.319451201008633]