Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.02585/0.02585, allocations: 176.4 kB / 15.13 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.975/1.975, allocations: 194.5 MB / 210.3 MB, free: 8.566 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002488/0.002488, allocations: 116.1 kB / 255.6 MB, free: 11.18 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2834/0.2834, allocations: 40 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007208/0.0007211, allocations: 11.22 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1341, allocations: 54.89 MB / 461.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.000576/0.1347, allocations: 226.3 kB / 461.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1369, allocations: 1.477 MB / 462.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.137, allocations: 0 / 462.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.137, allocations: 0 / 462.9 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.137, allocations: 0 / 462.9 MB, free: 1.578 MB / 298.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:575:3-609: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.0008813/0.1379, allocations: 207.2 kB / 463.1 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.92e-05/0.1379, allocations: 4 kB / 463.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.138, allocations: 0 / 463.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.138, allocations: 0 / 463.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.611e-05/0.138, allocations: 0 / 463.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.29e-06/0.138, allocations: 4 kB / 463.1 MB, free: 1.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1391, allocations: 0.6674 MB / 463.7 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.1392, allocations: 7.875 kB / 463.7 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.1392, allocations: 25.7 kB / 463.8 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1397, allocations: 455.3 kB / 464.2 MB, free: 224 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1397, allocations: 0 / 464.2 MB, free: 224 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1397, allocations: 0 / 464.2 MB, free: 224 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1397, allocations: 0 / 464.2 MB, free: 224 kB / 298.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.0004675/0.1402, allocations: 365.1 kB / 464.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1403, allocations: 16.03 kB / 464.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.1403, allocations: 30.56 kB / 464.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.1403, allocations: 0 / 464.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1405, allocations: 163.1 kB / 464.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1405, allocations: 0 / 464.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.1405, allocations: 0 / 464.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.1406, allocations: 33.66 kB / 464.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1406, allocations: 0 / 464.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.1406, allocations: 0 / 464.8 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1406, allocations: 4 kB / 464.8 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.498e-05/0.1407, allocations: 11.94 kB / 464.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1408, allocations: 145.7 kB / 465 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/0.1409, allocations: 22.5 kB / 465 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.1409, allocations: 8.953 kB / 465 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.141, allocations: 0 / 465 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.141, allocations: 56.27 kB / 465 MB, free: 15.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 3.346e-06/0.141, allocations: 4 kB / 465 MB, free: 15.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001842/0.1412, allocations: 75.23 kB / 465.1 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.1413, allocations: 81.09 kB / 465.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.3e-05/0.1414, allocations: 89.86 kB / 465.3 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1414, allocations: 25.7 kB / 465.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.1414, allocations: 80.14 kB / 465.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1415, allocations: 4 kB / 465.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1415, allocations: 0 / 465.4 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1416, allocations: 315 kB / 465.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1417, allocations: 0 / 465.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.1417, allocations: 0 / 465.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.1417, allocations: 33.7 kB / 465.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1417, allocations: 0 / 465.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.22e-05/0.1418, allocations: 63.33 kB / 465.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/0.1419, allocations: 33.7 kB / 465.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1419, allocations: 3.984 kB / 465.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1419, allocations: 0 / 465.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-06/0.1419, allocations: 8.047 kB / 465.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.142, allocations: 3.984 kB / 465.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.142, allocations: 0 / 465.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.142, allocations: 4 kB / 465.8 MB, free: 14.3 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/0.1421, allocations: 131.5 kB / 466 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1421, allocations: 3.984 kB / 466 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-06/0.1422, allocations: 7.125 kB / 466 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1422, allocations: 0 / 466 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1422, allocations: 3.953 kB / 466 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1422, allocations: 4 kB / 466 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.1423, allocations: 145.7 kB / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1423, allocations: 0 / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.1423, allocations: 0 / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1424, allocations: 7.984 kB / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1424, allocations: 0 / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1424, allocations: 0 / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1424, allocations: 0 / 466.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.1425, allocations: 98.73 kB / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.1426, allocations: 81.09 kB / 466.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1426, allocations: 0 / 466.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.1426, allocations: 3.938 kB / 466.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.1427, allocations: 7.922 kB / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1427, allocations: 4 kB / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.113e-05/0.1427, allocations: 75.28 kB / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1427, allocations: 0 / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006993/0.1434, allocations: 127.9 kB / 466.5 MB, free: 13.51 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.1448, allocations: 0.6965 MB / 467.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.1449, allocations: 59.41 kB / 467.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1449, allocations: 0 / 467.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.145, allocations: 55.41 kB / 467.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.1452, allocations: 7.938 kB / 467.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.1457, allocations: 120.3 kB / 467.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.146, allocations: 0.6733 MB / 468.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.787e-06/0.146, allocations: 4 kB / 468.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.146, allocations: 11.38 kB / 468.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.146, allocations: 0 / 468.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.1747, allocations: 4.744 MB / 472.9 MB, free: 7.078 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/0.1751, allocations: 204.4 kB / 473.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/3.042, allocations: 8 kB / 473.1 MB, free: 6.832 MB / 314.7 MB