Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001724/0.001724, allocations: 118.6 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002058, allocations: 206.6 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.4 MB / 254.7 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.262/0.262, allocations: 46.93 MB / 357.7 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 83.86 kB / 0.4917 GB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 66.04 MB / 0.5561 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001592/0.1277, allocations: 498.3 kB / 0.5566 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1299, allocations: 1.567 MB / 0.5581 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.93e-05/0.1299, allocations: 0 / 0.5581 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1299, allocations: 0 / 0.5581 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.1299, allocations: 4 kB / 0.5582 GB, free: 3.527 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.0008619/0.1308, allocations: 227.4 kB / 0.5584 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.665e-05/0.1308, allocations: 7.984 kB / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.1308, allocations: 0 / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.437e-05/0.1309, allocations: 0 / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.481e-05/0.1309, allocations: 0 / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.87e-06/0.1309, allocations: 0 / 0.5584 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.1319, allocations: 0.7454 MB / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1319, allocations: 0 / 0.5591 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.1319, allocations: 4 kB / 0.5591 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007353/0.1326, allocations: 0.6473 MB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1326, allocations: 7.938 kB / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1326, allocations: 0 / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1326, allocations: 0 / 0.5597 GB, free: 1.891 MB / 414.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.0004906/0.1331, allocations: 369 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1332, allocations: 12.03 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.1332, allocations: 30.75 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.1332, allocations: 0.9375 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1333, allocations: 164.4 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1333, allocations: 384 / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1334, allocations: 4.375 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.661e-05/0.1335, allocations: 41.75 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.1335, allocations: 0 / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1335, allocations: 3.984 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1335, allocations: 0 / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.335e-05/0.1335, allocations: 7.938 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.1336, allocations: 141.7 kB / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.191e-05/0.1337, allocations: 18.58 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.1337, allocations: 8.953 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/0.1337, allocations: 3.984 kB / 0.5605 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.1338, allocations: 64.2 kB / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1338, allocations: 0 / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.1339, allocations: 63.34 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.134, allocations: 77.23 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.1341, allocations: 97.81 kB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1341, allocations: 25.7 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1341, allocations: 88.12 kB / 0.5609 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.1341, allocations: 0 / 0.5609 GB, free: 472 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1342, allocations: 13.72 kB / 0.5609 GB, free: 452 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1343, allocations: 310.8 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1343, allocations: 4 kB / 0.5612 GB, free: 128 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.1343, allocations: 3.938 kB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.1344, allocations: 64.33 kB / 0.5613 GB, free: 44 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1344, allocations: 0 / 0.5613 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.097e-05/0.1345, allocations: 67.39 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.1345, allocations: 37.64 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1345, allocations: 4 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1345, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1345, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1345, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.1345, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1345, allocations: 8.031 kB / 0.5614 GB, free: 15.91 MB / 430.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.702e-05/0.1346, allocations: 135.5 kB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.1346, allocations: 3.938 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-06/0.1347, allocations: 7.125 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1347, allocations: 0 / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1347, allocations: 0 / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1347, allocations: 0 / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1348, allocations: 141.7 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1348, allocations: 0 / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-06/0.1348, allocations: 7.984 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1348, allocations: 7.938 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1348, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1348, allocations: 3.938 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1348, allocations: 0 / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.887e-05/0.1349, allocations: 94.72 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1349, allocations: 85.03 kB / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.135, allocations: 0 / 0.5619 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.135, allocations: 4.031 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.135, allocations: 0 / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.135, allocations: 4 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.36e-05/0.135, allocations: 75.28 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.135, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004212/0.1354, allocations: 119.9 kB / 0.5621 GB, free: 15.13 MB / 430.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.001062/0.1365, allocations: 0.7115 MB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.1366, allocations: 63.44 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1366, allocations: 0 / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.1366, allocations: 55.41 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1368, allocations: 13.39 kB / 0.5629 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.1372, allocations: 122.6 kB / 0.563 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1375, allocations: 0.6729 MB / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.391e-06/0.1375, allocations: 0 / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.583e-05/0.1375, allocations: 7.438 kB / 0.5637 GB, free: 13.37 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1375, allocations: 8.062 kB / 0.5637 GB, free: 13.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.1659, allocations: 4.73 MB / 0.5683 GB, free: 8.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.303, allocations: 4.547 kB / 0.5683 GB, free: 8.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.312177111860365] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.371953141875565 8.39541507 8.258622763 Calling exit ...