Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 44.92 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 499.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1472, allocations: 65.42 MB / 0.5517 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001671/0.1488, allocations: 0.4909 MB / 0.5522 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.152, allocations: 2.152 MB / 0.5543 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.1521, allocations: 0 / 0.5543 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.1521, allocations: 4 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.1521, allocations: 0 / 0.5543 GB, free: 7.504 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.00211/0.1542, allocations: 0.7278 MB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.1542, allocations: 0 / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1543, allocations: 4 kB / 0.555 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.1543, allocations: 4 kB / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.773e-05/0.1543, allocations: 0 / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-06/0.1543, allocations: 0 / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1564, allocations: 1.58 MB / 0.5566 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-06/0.1565, allocations: 0 / 0.5566 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.1565, allocations: 11.94 kB / 0.5566 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.1582, allocations: 1.552 MB / 0.5581 GB, free: 3.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1582, allocations: 0 / 0.5581 GB, free: 3.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1582, allocations: 0 / 0.5581 GB, free: 3.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1582, allocations: 0 / 0.5581 GB, free: 3.625 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.0006793/0.1589, allocations: 420.5 kB / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1589, allocations: 8.031 kB / 0.5585 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.159, allocations: 34.69 kB / 0.5585 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.159, allocations: 0.9375 kB / 0.5585 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1591, allocations: 164.4 kB / 0.5587 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1592, allocations: 12.36 kB / 0.5587 GB, free: 2.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1592, allocations: 3.938 kB / 0.5587 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1593, allocations: 29.64 kB / 0.5587 GB, free: 2.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1593, allocations: 4 kB / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.1593, allocations: 0 / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1593, allocations: 0 / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.1594, allocations: 0 / 0.5588 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.1595, allocations: 145.7 kB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.03e-05/0.1596, allocations: 38.41 kB / 0.5589 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.1596, allocations: 12.84 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-06/0.1596, allocations: 0 / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.1596, allocations: 60.33 kB / 0.559 GB, free: 2.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1596, allocations: 0 / 0.559 GB, free: 2.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001721/0.1598, allocations: 63.3 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.1599, allocations: 85.09 kB / 0.5591 GB, free: 2.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.84e-05/0.1599, allocations: 93.98 kB / 0.5592 GB, free: 2.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1599, allocations: 25.7 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.16, allocations: 84.14 kB / 0.5593 GB, free: 2.133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.16, allocations: 0 / 0.5593 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.16, allocations: 13.72 kB / 0.5593 GB, free: 2.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1602, allocations: 310.8 kB / 0.5596 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-06/0.1602, allocations: 0 / 0.5596 GB, free: 1.801 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-06/0.1602, allocations: 0 / 0.5596 GB, free: 1.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.1602, allocations: 64.33 kB / 0.5597 GB, free: 1.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1602, allocations: 0 / 0.5597 GB, free: 1.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.287e-05/0.1603, allocations: 75.27 kB / 0.5598 GB, free: 1.637 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.1604, allocations: 29.7 kB / 0.5598 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1604, allocations: 0 / 0.5598 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1604, allocations: 0 / 0.5598 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.1604, allocations: 4 kB / 0.5598 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1604, allocations: 0 / 0.5598 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.1604, allocations: 0 / 0.5598 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1604, allocations: 0 / 0.5598 GB, free: 1.598 MB / 414.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.522e-05/0.1605, allocations: 145.8 kB / 0.5599 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.1605, allocations: 7.938 kB / 0.56 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-06/0.1605, allocations: 3.125 kB / 0.56 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.1605, allocations: 0 / 0.56 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1605, allocations: 0 / 0.56 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1605, allocations: 0 / 0.56 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.1606, allocations: 157.6 kB / 0.5601 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1606, allocations: 0 / 0.5601 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.1606, allocations: 0 / 0.5601 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1606, allocations: 4 kB / 0.5601 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1606, allocations: 0 / 0.5601 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1606, allocations: 7.875 kB / 0.5601 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1607, allocations: 3.984 kB / 0.5601 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.1608, allocations: 98.7 kB / 0.5602 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.1608, allocations: 77.11 kB / 0.5603 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1608, allocations: 4 kB / 0.5603 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.1608, allocations: 32 / 0.5603 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.1608, allocations: 4 kB / 0.5603 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.1608, allocations: 0 / 0.5603 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.1609, allocations: 79.31 kB / 0.5604 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1609, allocations: 0 / 0.5604 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.1618, allocations: 275.6 kB / 0.5606 GB, free: 0.6445 MB / 414.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.001918/0.1637, allocations: 0.9376 MB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1638, allocations: 59.34 kB / 0.5616 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1638, allocations: 0 / 0.5616 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.164, allocations: 55.41 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1641, allocations: 3.938 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.1646, allocations: 174.2 kB / 0.5618 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1649, allocations: 0.669 MB / 0.5625 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.929e-06/0.1649, allocations: 4.125 kB / 0.5625 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.1649, allocations: 11.44 kB / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1649, allocations: 0 / 0.5625 GB, free: 14.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.1991, allocations: 8.223 MB / 0.5705 GB, free: 6.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.199, allocations: 0 / 0.5705 GB, free: 6.461 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.270847511012107] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.267553804907948 8.283116188 8.121949557 Calling exit ...