Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.00142/0.00142, allocations: 88.28 kB / 20.96 MB, free: 3.441 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.001504/0.001504, allocations: 156.9 kB / 24.26 MB, free: 144 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.487/1.487, allocations: 177 MB / 204.4 MB, free: 5.633 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.3389/0.3389, allocations: 34.25 MB / 295.2 MB, free: 0.6641 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.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.327e-05/1.327e-05, allocations: 4 kB / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/5.164e-05, allocations: 2.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002722/0.002774, allocations: 0.494 MB / 377.7 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.01787, allocations: 4.577 MB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.01789, allocations: 4 kB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.01791, allocations: 0 / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.01792, allocations: 0 / 382.3 MB, free: 13.82 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.0345, allocations: 3.267 MB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.03456, allocations: 7.984 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.0346, allocations: 3.938 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.03464, allocations: 4 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.084e-05/0.03466, allocations: 0 / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.03467, allocations: 0 / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04726/0.08193, allocations: 19.8 MB / 405.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.08194, allocations: 0 / 405.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.08197, allocations: 4 kB / 405.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04859/0.1306, allocations: 30.71 MB / 436.1 MB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.1306, allocations: 4 kB / 436.1 MB, free: 7.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1306, allocations: 4 kB / 436.1 MB, free: 7.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1306, allocations: 3.938 kB / 436.1 MB, free: 7.938 MB / 410.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.008491/0.1391, allocations: 0.5944 MB / 436.7 MB, free: 7.305 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1391, allocations: 8.031 kB / 436.7 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1392, allocations: 0.9375 kB / 436.7 MB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1393, allocations: 109.7 kB / 436.8 MB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1393, allocations: 4.125 kB / 436.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.1393, allocations: 0 / 436.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1394, allocations: 59.39 kB / 436.8 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1394, allocations: 0 / 436.8 MB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.1394, allocations: 4 kB / 436.8 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1394, allocations: 0 / 436.8 MB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.1395, allocations: 25.7 kB / 436.9 MB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.1396, allocations: 101.3 kB / 437 MB, free: 6.926 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/0.1397, allocations: 52.3 kB / 437 MB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.1397, allocations: 34.5 kB / 437 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1398, allocations: 0 / 437 MB, free: 6.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.1398, allocations: 56.27 kB / 437.1 MB, free: 6.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1398, allocations: 4 kB / 437.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002472/0.1401, allocations: 122.9 kB / 437.2 MB, free: 6.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.1401, allocations: 85.08 kB / 437.3 MB, free: 6.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.1402, allocations: 89.86 kB / 437.4 MB, free: 6.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1402, allocations: 25.7 kB / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1403, allocations: 80.14 kB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1403, allocations: 11.83 kB / 437.5 MB, free: 6.273 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.1403, allocations: 17.72 kB / 437.5 MB, free: 6.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1405, allocations: 310.8 kB / 437.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.1405, allocations: 29.7 kB / 437.9 MB, free: 5.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.1405, allocations: 29.69 kB / 437.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.1406, allocations: 64.33 kB / 438 MB, free: 5.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1406, allocations: 0 / 438 MB, free: 5.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.1408, allocations: 93.05 kB / 438 MB, free: 5.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.1408, allocations: 33.69 kB / 438.1 MB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1408, allocations: 3.938 kB / 438.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.1408, allocations: 7.984 kB / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.103e-06/0.1408, allocations: 0 / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.1408, allocations: 0 / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1408, allocations: 0 / 438.1 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1409, allocations: 0 / 438.1 MB, free: 5.629 MB / 410.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.00012/0.141, allocations: 139.6 kB / 438.2 MB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.141, allocations: 3.938 kB / 438.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-06/0.141, allocations: 3 kB / 438.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.141, allocations: 0 / 438.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.141, allocations: 4 kB / 438.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.141, allocations: 3.984 kB / 438.2 MB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.664e-05/0.1411, allocations: 97.33 kB / 438.3 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1411, allocations: 0 / 438.3 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1411, allocations: 0 / 438.3 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1411, allocations: 3.938 kB / 438.3 MB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1411, allocations: 4 kB / 438.3 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1411, allocations: 8 kB / 438.4 MB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1411, allocations: 3.984 kB / 438.4 MB, free: 5.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.1413, allocations: 120.5 kB / 438.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.887e-06/0.1413, allocations: 0 / 438.5 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.1413, allocations: 7.938 kB / 438.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.1413, allocations: 0 / 438.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.425e-05/0.1413, allocations: 0 / 438.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.1413, allocations: 0 / 438.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.1414, allocations: 75.28 kB / 438.6 MB, free: 5.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1414, allocations: 0 / 438.6 MB, free: 5.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0115/0.1528, allocations: 3.795 MB / 442.3 MB, free: 1.293 MB / 410.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.02272/0.1756, allocations: 1.062 MB / 443.4 MB, free: 248 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1758, allocations: 118.7 kB / 443.5 MB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1758, allocations: 0 / 443.5 MB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.1759, allocations: 85.11 kB / 443.6 MB, free: 0 / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.176, allocations: 0 / 443.6 MB, free: 0 / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.15/0.3261, allocations: 116.3 kB / 443.7 MB, free: 89.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.3261, allocations: 55.83 kB / 443.8 MB, free: 89.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.444e-06/0.3261, allocations: 0 / 443.8 MB, free: 89.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.3261, allocations: 10.91 kB / 443.8 MB, free: 89.66 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.3261, allocations: 2.719 kB / 443.8 MB, free: 89.66 MB / 410.7 MB Notification: Performance of Templates: time 0.1319/0.4581, allocations: 113.6 MB / 0.5444 GB, free: 3.988 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.74031300097704]