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.0009113/0.0009113, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.0008613/0.0008613, allocations: 165.3 kB / 24.91 MB, free: 9.199 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.8843/0.8843, allocations: 177 MB / 205.2 MB, free: 5.422 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.2628/0.2628, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.847e-05, allocations: 5.922 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001199/0.001227, allocations: 0.5 MB / 326.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.006756, allocations: 4.676 MB / 331.1 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.006775, allocations: 4 kB / 331.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.006787, allocations: 0 / 331.1 MB, free: 1.977 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.006794, allocations: 0 / 331.1 MB, free: 1.977 MB / 298.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.005488/0.01228, allocations: 3.35 MB / 334.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.839e-05/0.01233, allocations: 8 kB / 334.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.01237, allocations: 7.984 kB / 334.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.0124, allocations: 0 / 334.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.584e-05/0.01241, allocations: 0 / 334.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.402e-06/0.01242, allocations: 0 / 334.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01948/0.0319, allocations: 19.5 MB / 353.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.03191, allocations: 3.984 kB / 353.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.03193, allocations: 0 / 353.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03112/0.06304, allocations: 30.75 MB / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.06305, allocations: 0 / 384.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.06305, allocations: 4 kB / 384.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.06306, allocations: 0 / 384.7 MB, free: 12.27 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.007133/0.07019, allocations: 0.5816 MB / 385.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.07022, allocations: 8.031 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.07025, allocations: 0.9375 kB / 385.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.823e-05/0.0703, allocations: 113.7 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.07031, allocations: 4.125 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.07032, allocations: 0 / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.536e-05/0.07038, allocations: 63.39 kB / 385.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.07039, allocations: 0 / 385.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.07039, allocations: 4 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.0704, allocations: 0 / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.306e-05/0.07041, allocations: 29.7 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.043e-05/0.07047, allocations: 57.03 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.07051, allocations: 48.25 kB / 385.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.07053, allocations: 30.56 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-06/0.07053, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.07056, allocations: 72.23 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.07056, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.07068, allocations: 110.9 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.07071, allocations: 81.14 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.911e-05/0.07074, allocations: 93.86 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/0.07075, allocations: 25.7 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.07077, allocations: 84.08 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.632e-05/0.07078, allocations: 8.281 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.0708, allocations: 13.72 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.07087, allocations: 310.8 kB / 386.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.07088, allocations: 25.7 kB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.07089, allocations: 29.7 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.07093, allocations: 64.33 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.07093, allocations: 0 / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.693e-05/0.07098, allocations: 85.09 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.07101, allocations: 33.64 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.07101, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.07103, allocations: 4 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.028e-06/0.07103, allocations: 3.938 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.07103, allocations: 0 / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.184e-05/0.07104, allocations: 0 / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.07105, allocations: 0 / 386.6 MB, free: 10.06 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 5.619e-05/0.07111, allocations: 147.6 kB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-06/0.07111, allocations: 0 / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-06/0.07112, allocations: 11.59 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.07112, allocations: 0 / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.07112, allocations: 4 kB / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.07112, allocations: 0 / 386.8 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.079e-05/0.07116, allocations: 57.91 kB / 386.9 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.07117, allocations: 4 kB / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.07117, allocations: 0 / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.07117, allocations: 3.984 kB / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-06/0.07117, allocations: 4 kB / 386.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.2e-07/0.07117, allocations: 4 kB / 386.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.07117, allocations: 3.938 kB / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.25e-05/0.07124, allocations: 116.5 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-06/0.07124, allocations: 4 kB / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.07125, allocations: 0 / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.93e-06/0.07125, allocations: 0 / 387 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-06/0.07126, allocations: 3.938 kB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.07126, allocations: 0 / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.903e-06/0.07127, allocations: 8.859 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07127, allocations: 0 / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009584/0.08086, allocations: 3.791 MB / 390.8 MB, free: 5.836 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.01516/0.09602, allocations: 1.051 MB / 391.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.09615, allocations: 115.7 kB / 392 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.09615, allocations: 7.938 kB / 392 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.09618, allocations: 93.88 kB / 392.1 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.243e-05/0.09623, allocations: 4 kB / 392.1 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.09642, allocations: 112.8 kB / 392.2 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.09646, allocations: 55.48 kB / 392.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.675e-06/0.09647, allocations: 0 / 392.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.09652, allocations: 59.36 kB / 392.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/0.09652, allocations: 0 / 392.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of Templates: time 0.2675/0.364, allocations: 110.6 MB / 0.4911 GB, free: 30.22 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 179.07136078504845]