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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009866/0.0009865, allocations: 100.9 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3547/0.3547, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.89 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3285, allocations: 62.01 MB / 0.5151 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001761/0.3303, allocations: 0.5633 MB / 0.5157 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.333, allocations: 2.191 MB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.283e-05/0.3331, allocations: 2.938 kB / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.3331, allocations: 0 / 0.5178 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.604e-06/0.3331, allocations: 0 / 0.5178 GB, free: 35.81 MB / 378.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.001702/0.3348, allocations: 0.6427 MB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.57e-05/0.3349, allocations: 3.281 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.3349, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.624e-05/0.335, allocations: 2.812 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.335, allocations: 11.92 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.335, allocations: 0 / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.3365, allocations: 1.392 MB / 0.5198 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-06/0.3365, allocations: 0 / 0.5198 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.3365, allocations: 0 / 0.5198 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.3377, allocations: 1.543 MB / 0.5213 GB, free: 35.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3377, allocations: 4 kB / 0.5213 GB, free: 35.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3377, allocations: 0 / 0.5213 GB, free: 35.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3377, allocations: 0 / 0.5213 GB, free: 35.01 MB / 378.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.000416/0.3381, allocations: 419.4 kB / 0.5217 GB, free: 34.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3382, allocations: 8.25 kB / 0.5218 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.3382, allocations: 3.906 kB / 0.5218 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.601e-05/0.3383, allocations: 163.7 kB / 0.5219 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3383, allocations: 384 / 0.5219 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3383, allocations: 8.062 kB / 0.5219 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.919e-05/0.3384, allocations: 32.23 kB / 0.522 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3384, allocations: 0 / 0.522 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3384, allocations: 0 / 0.522 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3384, allocations: 2.406 kB / 0.522 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.53e-05/0.3385, allocations: 0 / 0.522 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.847e-05/0.3386, allocations: 151.9 kB / 0.5221 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.188e-05/0.3386, allocations: 14.58 kB / 0.5221 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.3386, allocations: 15.77 kB / 0.5221 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-06/0.3386, allocations: 4 kB / 0.5221 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3387, allocations: 56.27 kB / 0.5222 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3387, allocations: 0 / 0.5222 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.3388, allocations: 69.86 kB / 0.5223 GB, free: 33.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.3388, allocations: 79.8 kB / 0.5223 GB, free: 33.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/0.3389, allocations: 89.86 kB / 0.5224 GB, free: 33.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.3389, allocations: 25.7 kB / 0.5224 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.092e-05/0.3389, allocations: 80.27 kB / 0.5225 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.3389, allocations: 7.938 kB / 0.5225 GB, free: 33.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.3389, allocations: 15.62 kB / 0.5225 GB, free: 33.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.339, allocations: 314.8 kB / 0.5228 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.339, allocations: 6.656 kB / 0.5228 GB, free: 33.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.339, allocations: 0 / 0.5228 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.3391, allocations: 58.77 kB / 0.5229 GB, free: 33.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3391, allocations: 2.562 kB / 0.5229 GB, free: 33.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.677e-05/0.3391, allocations: 67.78 kB / 0.523 GB, free: 33.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3391, allocations: 34.55 kB / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3392, allocations: 2.5 kB / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3392, allocations: 0 / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3392, allocations: 0 / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3392, allocations: 0 / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.3392, allocations: 0 / 0.523 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3392, allocations: 2.688 kB / 0.523 GB, free: 33.14 MB / 378.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.213e-05/0.3393, allocations: 147.6 kB / 0.5231 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.3393, allocations: 7.969 kB / 0.5232 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-06/0.3393, allocations: 7.109 kB / 0.5232 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.3393, allocations: 0 / 0.5232 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3393, allocations: 0 / 0.5232 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3393, allocations: 2.719 kB / 0.5232 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.589e-05/0.3394, allocations: 153.1 kB / 0.5233 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3394, allocations: 3.938 kB / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3394, allocations: 0 / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3394, allocations: 2.656 kB / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.3394, allocations: 0 / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3394, allocations: 0 / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3394, allocations: 4 kB / 0.5233 GB, free: 32.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3396, allocations: 0.6399 MB / 0.5239 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.3396, allocations: 77.11 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3396, allocations: 2.812 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.296e-06/0.3397, allocations: 0 / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.3397, allocations: 4.031 kB / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.3397, allocations: 0 / 0.524 GB, free: 32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.265e-05/0.3397, allocations: 79.22 kB / 0.5241 GB, free: 31.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.3397, allocations: 2.562 kB / 0.5241 GB, free: 31.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008449/0.3406, allocations: 274.5 kB / 0.5244 GB, free: 31.89 MB / 378.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.001143/0.3417, allocations: 402.7 kB / 0.5247 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.025e-05/0.3418, allocations: 60.19 kB / 0.5248 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3418, allocations: 64 / 0.5248 GB, free: 31.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.951e-05/0.3418, allocations: 58 kB / 0.5249 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.342, allocations: 9.609 kB / 0.5249 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.3421, allocations: 177.5 kB / 0.525 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3423, allocations: 0.6755 MB / 0.5257 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.741e-06/0.3423, allocations: 0 / 0.5257 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-06/0.3423, allocations: 7.438 kB / 0.5257 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3423, allocations: 0 / 0.5257 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Templates: time 0.014/0.3563, allocations: 7.434 MB / 0.533 GB, free: 30.18 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)