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.0009164/0.0009164, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002258, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008941/0.0008941, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002105, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.98/0.98, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.088, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.2428/0.2428, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02735/0.2702, allocations: 13.23 MB / 292.8 MB, free: 6.395 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.493e-06/1.493e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.362e-05, allocations: 4.125 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001229/0.001252, allocations: 0.5536 MB / 294.6 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005187/0.006439, allocations: 4.696 MB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.006453, allocations: 0 / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.509e-06/0.006457, allocations: 4 kB / 299.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.006458, allocations: 0 / 299.3 MB, free: 15.83 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.005036/0.01149, allocations: 3.074 MB / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.01154, allocations: 4 kB / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.01158, allocations: 0 / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.893e-05/0.01161, allocations: 0 / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.506e-05/0.01162, allocations: 0 / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.01163, allocations: 7.938 kB / 302.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02879/0.04042, allocations: 20.44 MB / 322.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.04045, allocations: 0 / 322.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.04047, allocations: 4 kB / 322.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.0776, allocations: 23.8 MB / 346.7 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-05/0.07762, allocations: 4 kB / 346.7 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.07762, allocations: 0 / 346.7 MB, free: 452 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.07764, allocations: 0 / 346.7 MB, free: 452 kB / 330.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.008662/0.0863, allocations: 0.7853 MB / 347.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.08634, allocations: 8.922 kB / 347.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.08638, allocations: 4.875 kB / 347.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.798e-05/0.08645, allocations: 105.8 kB / 347.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.08646, allocations: 4.125 kB / 347.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.08647, allocations: 0 / 347.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.08655, allocations: 67.39 kB / 347.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.08655, allocations: 4 kB / 347.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-06/0.08656, allocations: 0 / 347.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.08656, allocations: 0 / 347.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.379e-05/0.08658, allocations: 29.7 kB / 347.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.464e-05/0.08664, allocations: 56.98 kB / 347.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.08669, allocations: 48.25 kB / 347.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.0867, allocations: 30.56 kB / 347.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-06/0.08671, allocations: 0 / 347.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.08675, allocations: 68.25 kB / 347.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.08675, allocations: 0 / 347.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.08687, allocations: 118.8 kB / 348 MB, free: 14.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.08693, allocations: 166.1 kB / 348.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.166e-05/0.08697, allocations: 89.86 kB / 348.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.08698, allocations: 25.7 kB / 348.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.979e-05/0.087, allocations: 80.14 kB / 348.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.08702, allocations: 12.45 kB / 348.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.08705, allocations: 9.719 kB / 348.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.08713, allocations: 310.8 kB / 348.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.08715, allocations: 29.7 kB / 348.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/0.08716, allocations: 29.64 kB / 348.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.132e-05/0.0872, allocations: 68.44 kB / 348.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.0872, allocations: 0 / 348.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.88e-05/0.08725, allocations: 85.11 kB / 348.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.0873, allocations: 41.56 kB / 348.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.08731, allocations: 0 / 348.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.08732, allocations: 0 / 348.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.425e-06/0.08732, allocations: 4 kB / 348.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.08732, allocations: 0 / 348.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.08734, allocations: 0 / 348.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.08735, allocations: 0 / 348.9 MB, free: 13.91 MB / 346.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 6.517e-05/0.08742, allocations: 143.6 kB / 349.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-06/0.08742, allocations: 0 / 349.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.245e-05/0.08743, allocations: 6.938 kB / 349.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.08743, allocations: 0 / 349.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.08743, allocations: 0 / 349.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.08744, allocations: 7.984 kB / 349.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.986e-05/0.08749, allocations: 57.91 kB / 349.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.08749, allocations: 0 / 349.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-06/0.08749, allocations: 4 kB / 349.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-06/0.0875, allocations: 4 kB / 349.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.0875, allocations: 4 kB / 349.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.0875, allocations: 3.938 kB / 349.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.0875, allocations: 0 / 349.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.0875, allocations: 0 / 349.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.164e-05/0.08758, allocations: 116.5 kB / 349.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.08759, allocations: 0 / 349.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.08759, allocations: 0 / 349.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.0876, allocations: 3.938 kB / 349.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.0876, allocations: 0 / 349.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.026e-05/0.08761, allocations: 16.83 kB / 349.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.08761, allocations: 32 / 349.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01129/0.09891, allocations: 3.784 MB / 353.1 MB, free: 9.691 MB / 346.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.02059/0.1195, allocations: 1.16 MB / 354.2 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.1196, allocations: 115.7 kB / 354.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.1196, allocations: 3.984 kB / 354.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.904e-05/0.1197, allocations: 89.91 kB / 354.4 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.891e-05/0.1197, allocations: 4 kB / 354.4 MB, free: 8.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.1199, allocations: 124.9 kB / 354.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.955e-05/0.1199, allocations: 51.36 kB / 354.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.762e-06/0.1199, allocations: 0 / 354.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.12, allocations: 55.38 kB / 354.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.12, allocations: 0 / 354.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of Templates: time 0.2898/0.4098, allocations: 110.8 MB / 465.5 MB, free: 31.16 MB / 426.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 -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 188.93643330410123]