Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001123, allocations: 111.6 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.00132, allocations: 212 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 79.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3348, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001497/0.3364, allocations: 497.9 kB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3383, allocations: 1.562 MB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.3383, allocations: 0 / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.136e-05/0.3384, allocations: 4 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.3384, allocations: 1.344 kB / 0.5337 GB, free: 11.99 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.3392, allocations: 218.9 kB / 0.5339 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.557e-05/0.3392, allocations: 9.172 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.3393, allocations: 1.406 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.3393, allocations: 1.375 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.3393, allocations: 4 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-06/0.3393, allocations: 0 / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009243/0.3402, allocations: 0.7076 MB / 0.5346 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.3403, allocations: 5.375 kB / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.3403, allocations: 0 / 0.5346 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.3409, allocations: 0.644 MB / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3409, allocations: 1.094 kB / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.341, allocations: 0 / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.341, allocations: 0 / 0.5352 GB, free: 11.23 MB / 398.1 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.0004049/0.3414, allocations: 364.5 kB / 0.5356 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3414, allocations: 8.188 kB / 0.5356 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.3415, allocations: 1.906 kB / 0.5356 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.436e-05/0.3415, allocations: 164.4 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3416, allocations: 1.125 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.3416, allocations: 1.281 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.614e-05/0.3417, allocations: 37.41 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.3417, allocations: 0 / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.3417, allocations: 0 / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3417, allocations: 0 / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.3417, allocations: 5.25 kB / 0.5358 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.3418, allocations: 152 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.004e-05/0.3419, allocations: 20.05 kB / 0.5359 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.3419, allocations: 10.19 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.3419, allocations: 3.984 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.342, allocations: 61.48 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.342, allocations: 0 / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001535/0.3421, allocations: 66.97 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.3422, allocations: 86.31 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.966e-05/0.3422, allocations: 89.86 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3422, allocations: 25.7 kB / 0.5363 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.3423, allocations: 85.72 kB / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3423, allocations: 0 / 0.5363 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.3423, allocations: 12.09 kB / 0.5364 GB, free: 9.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3424, allocations: 318.8 kB / 0.5367 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-06/0.3424, allocations: 1.312 kB / 0.5367 GB, free: 9.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.3424, allocations: 1.125 kB / 0.5367 GB, free: 9.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.3425, allocations: 63.55 kB / 0.5367 GB, free: 9.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3425, allocations: 4 kB / 0.5367 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.247e-05/0.3426, allocations: 66.86 kB / 0.5368 GB, free: 9.406 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.3426, allocations: 31.2 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3426, allocations: 3.938 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3426, allocations: 0 / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-06/0.3426, allocations: 1.125 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3426, allocations: 3.938 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.3427, allocations: 5.094 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.3427, allocations: 1.094 kB / 0.5368 GB, free: 9.363 MB / 398.1 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.694e-05/0.3428, allocations: 145.8 kB / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.3428, allocations: 0 / 0.537 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.117e-06/0.3428, allocations: 8.125 kB / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3428, allocations: 0 / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3428, allocations: 0 / 0.537 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.3428, allocations: 82.17 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3428, allocations: 1.094 kB / 0.5371 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.3429, allocations: 5.062 kB / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-06/0.3429, allocations: 0 / 0.5371 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001022/0.343, allocations: 199.3 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000117/0.3431, allocations: 239.6 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.529e-05/0.3431, allocations: 2.312 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.704e-05/0.3432, allocations: 75.34 kB / 0.5376 GB, free: 8.57 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3432, allocations: 4 kB / 0.5376 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009131/0.3441, allocations: 214.7 kB / 0.5378 GB, free: 8.395 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003445/0.3444, allocations: 0.5755 MB / 0.5383 GB, free: 7.766 MB / 398.1 MB Notification: Performance of Templates: time 0.007411/0.3519, allocations: 3.943 MB / 0.5422 GB, free: 5.719 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)