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.001019/0.001019, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001051/0.001051, allocations: 161.2 kB / 25.61 MB, free: 8.891 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.9497/0.9497, allocations: 177 MB / 205.9 MB, free: 4.453 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.1479/0.1479, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.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.293e-06/1.293e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.4e-05, allocations: 3.828 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.0008427/0.0008567, allocations: 0.4965 MB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.005352, allocations: 4.61 MB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.005371, allocations: 0 / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.005386, allocations: 0 / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.005393, allocations: 0 / 385.1 MB, free: 17.61 MB / 314.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.003675/0.009068, allocations: 3.271 MB / 388.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.611e-05/0.009114, allocations: 11.98 kB / 388.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.009148, allocations: 0 / 388.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.009171, allocations: 0 / 388.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.445e-05/0.009186, allocations: 4 kB / 388.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.009192, allocations: 0 / 388.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/0.02576, allocations: 19.81 MB / 408.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.02577, allocations: 4 kB / 408.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.02579, allocations: 0 / 408.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03186/0.05765, allocations: 30.75 MB / 439 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.05765, allocations: 0 / 439 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.05765, allocations: 0 / 439 MB, free: 11.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.05766, allocations: 0 / 439 MB, free: 11.68 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.006815/0.06447, allocations: 0.7017 MB / 439.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.06451, allocations: 12.03 kB / 439.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.06455, allocations: 4.938 kB / 439.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.513e-05/0.06461, allocations: 104.6 kB / 439.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.06463, allocations: 4.125 kB / 439.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.06463, allocations: 0 / 439.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.193e-05/0.0647, allocations: 55.41 kB / 439.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.06471, allocations: 0 / 439.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.06472, allocations: 0 / 439.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.06472, allocations: 3.938 kB / 439.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.06474, allocations: 37.62 kB / 439.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.746e-05/0.06483, allocations: 97.27 kB / 440 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.06488, allocations: 52.8 kB / 440 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.0649, allocations: 33.39 kB / 440.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-06/0.0649, allocations: 0 / 440.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.06494, allocations: 67.09 kB / 440.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.06494, allocations: 0 / 440.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.06511, allocations: 122.7 kB / 440.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.06515, allocations: 77.11 kB / 440.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.544e-05/0.06519, allocations: 142.2 kB / 440.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.0652, allocations: 25.7 kB / 440.5 MB, free: 9.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.06523, allocations: 135 kB / 440.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.06525, allocations: 4.297 kB / 440.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.06528, allocations: 15.38 kB / 440.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.0654, allocations: 0.4884 MB / 441.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.06541, allocations: 25.7 kB / 441.1 MB, free: 9.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.498e-05/0.06543, allocations: 25.7 kB / 441.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.06547, allocations: 67.08 kB / 441.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.06547, allocations: 0 / 441.2 MB, free: 9.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.739e-05/0.06554, allocations: 97.03 kB / 441.3 MB, free: 9.008 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.06558, allocations: 37.73 kB / 441.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.06558, allocations: 4 kB / 441.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.06559, allocations: 0 / 441.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.06559, allocations: 0 / 441.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.06559, allocations: 0 / 441.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.458e-05/0.06561, allocations: 0 / 441.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.06561, allocations: 0 / 441.4 MB, free: 8.961 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.781e-05/0.06569, allocations: 182.3 kB / 441.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-06/0.0657, allocations: 7.922 kB / 441.6 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-06/0.06571, allocations: 3 kB / 441.6 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.06571, allocations: 4 kB / 441.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.06572, allocations: 4 kB / 441.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.06572, allocations: 0 / 441.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.239e-05/0.06578, allocations: 93.2 kB / 441.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.06578, allocations: 4 kB / 441.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.06578, allocations: 3.938 kB / 441.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.06578, allocations: 4 kB / 441.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.06579, allocations: 0 / 441.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.06579, allocations: 7.875 kB / 441.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.06579, allocations: 0 / 441.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.877e-05/0.06588, allocations: 127.8 kB / 441.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-06/0.06588, allocations: 4.031 kB / 441.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.0659, allocations: 7.984 kB / 441.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-06/0.06591, allocations: 3.938 kB / 441.8 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.06592, allocations: 3.984 kB / 441.8 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.06592, allocations: 0 / 441.8 MB, free: 8.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.06595, allocations: 119.2 kB / 441.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.06595, allocations: 4 kB / 441.9 MB, free: 8.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01037/0.07632, allocations: 3.784 MB / 445.7 MB, free: 4.527 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.01489/0.09122, allocations: 1.075 MB / 446.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.09135, allocations: 126.5 kB / 446.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.09135, allocations: 0 / 446.9 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.09139, allocations: 88.8 kB / 447 MB, free: 3.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.09151, allocations: 4 kB / 447 MB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.09168, allocations: 115.5 kB / 447.1 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.09171, allocations: 59.22 kB / 447.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.021e-06/0.09172, allocations: 0 / 447.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.09176, allocations: 74.14 kB / 447.3 MB, free: 2.906 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.09176, allocations: 4.125 kB / 447.3 MB, free: 2.902 MB / 362.7 MB Notification: Performance of Templates: time 0.3152/0.407, allocations: 124.9 MB / 0.5588 GB, free: 14.35 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: 190.49234614800662]