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/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.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/ModelicaServices trunk/package.mo): time 0.0008361/0.0008362, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009429/0.0009429, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.8 MB / 246.8 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2196/0.2196, allocations: 46.2 MB / 345.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 8 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1344, allocations: 63.58 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006216/0.1351, allocations: 217.2 kB / 483.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.1383, allocations: 2.162 MB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-06/0.1384, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.1384, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.1384, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 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.001719/0.1401, allocations: 0.6455 MB / 486.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.122e-05/0.1402, allocations: 7.984 kB / 486.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.1402, allocations: 0 / 486.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.1402, allocations: 7.938 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.1403, allocations: 0 / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.24e-06/0.1403, allocations: 0 / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.1422, allocations: 1.396 MB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-06/0.1422, allocations: 7.984 kB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1423, allocations: 25.7 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.1439, allocations: 1.536 MB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1439, allocations: 0 / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1439, allocations: 0 / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1439, allocations: 0 / 489.2 MB, free: 14.07 MB / 366.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.0006055/0.1445, allocations: 421.2 kB / 489.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1446, allocations: 8.875 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.1446, allocations: 4.938 kB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1448, allocations: 168.4 kB / 489.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1448, allocations: 384 / 489.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.1448, allocations: 4.125 kB / 489.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.591e-05/0.1449, allocations: 29.7 kB / 489.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1449, allocations: 0 / 489.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.1449, allocations: 0 / 489.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1449, allocations: 0 / 489.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.1449, allocations: 3.938 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.1451, allocations: 149.7 kB / 489.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/0.1451, allocations: 22.61 kB / 490 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.713e-05/0.1452, allocations: 8.797 kB / 490 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-06/0.1452, allocations: 0 / 490 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.1452, allocations: 60.33 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1452, allocations: 0 / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.1454, allocations: 71.27 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1455, allocations: 85.23 kB / 490.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.1455, allocations: 89.86 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1455, allocations: 25.7 kB / 490.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1456, allocations: 84.08 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1456, allocations: 3.906 kB / 490.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.1456, allocations: 9.719 kB / 490.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1458, allocations: 314.8 kB / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.1458, allocations: 0 / 490.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.1458, allocations: 4 kB / 490.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.1459, allocations: 68.25 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1459, allocations: 0 / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.602e-05/0.146, allocations: 67.28 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.146, allocations: 29.7 kB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.146, allocations: 0 / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.146, allocations: 0 / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.146, allocations: 0 / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.146, allocations: 0 / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.1461, allocations: 12.08 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1461, allocations: 0 / 490.9 MB, free: 12.09 MB / 366.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 9.566e-05/0.1462, allocations: 135.8 kB / 491 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.1462, allocations: 7.938 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-06/0.1462, allocations: 7.125 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1462, allocations: 0 / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1462, allocations: 0 / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1462, allocations: 4 kB / 491 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1463, allocations: 145.7 kB / 491.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1464, allocations: 7.938 kB / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1464, allocations: 4 kB / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1464, allocations: 0 / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1464, allocations: 0 / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1464, allocations: 0 / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1464, allocations: 0 / 491.2 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1465, allocations: 94.77 kB / 491.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1466, allocations: 84.98 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1466, allocations: 4.031 kB / 491.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.1466, allocations: 3.984 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.1466, allocations: 4 kB / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.1466, allocations: 0 / 491.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.1467, allocations: 75.28 kB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1467, allocations: 3.938 kB / 491.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007708/0.1474, allocations: 272 kB / 491.7 MB, free: 11.14 MB / 366.1 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.001299/0.1487, allocations: 411.2 kB / 492.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.1489, allocations: 63.34 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1489, allocations: 0 / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.1489, allocations: 55.41 kB / 492.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.149, allocations: 11.88 kB / 492.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000183/0.1492, allocations: 78.75 kB / 492.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1495, allocations: 0.6731 MB / 493 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.696e-06/0.1496, allocations: 0 / 493 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-06/0.1496, allocations: 11.38 kB / 493 MB, free: 9.781 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1496, allocations: 4.125 kB / 493 MB, free: 9.777 MB / 366.1 MB Notification: Performance of Templates: time 0.01387/0.1635, allocations: 7.406 MB / 0.4887 GB, free: 2.359 MB / 366.1 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)