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: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001103, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 74.44 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1364, allocations: 62.44 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.00217/0.1387, allocations: 0.4906 MB / 480.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1413, allocations: 1.556 MB / 482.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.1413, allocations: 4 kB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1414, allocations: 3.938 kB / 482.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.1414, allocations: 0 / 482.2 MB, free: 3.141 MB / 350.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.001097/0.1425, allocations: 234.8 kB / 482.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.439e-05/0.1426, allocations: 4 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1426, allocations: 0 / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2e-05/0.1426, allocations: 3.938 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.712e-05/0.1427, allocations: 0 / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-06/0.1427, allocations: 3.938 kB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1438, allocations: 0.7103 MB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-06/0.1438, allocations: 0 / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.1438, allocations: 0 / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009491/0.1448, allocations: 0.6435 MB / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1448, allocations: 3.984 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1448, allocations: 0 / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1448, allocations: 0 / 483.8 MB, free: 1.543 MB / 350.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.0005862/0.1454, allocations: 361.3 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.1455, allocations: 8.031 kB / 484.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.1455, allocations: 34.69 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.1455, allocations: 12.88 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1456, allocations: 164.4 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1457, allocations: 384 / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1457, allocations: 384 / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.814e-05/0.1458, allocations: 37.81 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.1458, allocations: 0 / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1458, allocations: 0 / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1458, allocations: 0 / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.1458, allocations: 0 / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.146, allocations: 149.7 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.146, allocations: 18.52 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.1461, allocations: 8.859 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-06/0.1461, allocations: 4.094 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1461, allocations: 64.19 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1461, allocations: 0 / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.1463, allocations: 67.33 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.1464, allocations: 81.23 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.1464, allocations: 89.86 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.1464, allocations: 25.7 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.1465, allocations: 84.14 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1465, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1466, allocations: 17.7 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1467, allocations: 314.8 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1467, allocations: 0 / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.1467, allocations: 8 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.1468, allocations: 56.27 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1468, allocations: 0 / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.32e-05/0.1469, allocations: 71.33 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.1469, allocations: 37.64 kB / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1469, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.147, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.532e-06/0.147, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.147, allocations: 0 / 485.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.147, allocations: 4.094 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.147, allocations: 0 / 485.5 MB, free: 15.58 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.085e-05/0.1471, allocations: 135.5 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.1471, allocations: 11.86 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-06/0.1471, allocations: 3.125 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.1471, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1472, allocations: 0 / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1472, allocations: 4 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.832e-05/0.1473, allocations: 149.6 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1473, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.1474, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1474, allocations: 3.938 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1474, allocations: 3.984 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1474, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1474, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.1475, allocations: 86.78 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1476, allocations: 89.06 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1476, allocations: 4 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.036e-05/0.1476, allocations: 0 / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1476, allocations: 0 / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.1476, allocations: 0 / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.1478, allocations: 75.28 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1478, allocations: 0 / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.1483, allocations: 124.3 kB / 486.1 MB, free: 14.79 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.00126/0.1496, allocations: 0.7015 MB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1497, allocations: 59.34 kB / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1497, allocations: 0 / 486.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.1498, allocations: 59.41 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1499, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.1504, allocations: 126.6 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1507, allocations: 0.6768 MB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.314e-06/0.1507, allocations: 0 / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.1508, allocations: 11.56 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1508, allocations: 0 / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.1723, allocations: 4.691 MB / 492.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.115, allocations: 5.438 kB / 492.5 MB, free: 8.379 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1)