Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001332/0.001332, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001354/0.001354, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.488/1.488, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 46.93 MB / 357.1 MB, free: 10.33 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+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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.91 kB / 0.4909 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1476, allocations: 65.99 MB / 0.5554 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002031/0.1496, allocations: 494.6 kB / 0.5558 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1521, allocations: 1.567 MB / 0.5574 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.1522, allocations: 0 / 0.5574 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.1522, allocations: 0 / 0.5574 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.049e-05/0.1522, allocations: 3.938 kB / 0.5574 GB, free: 3.82 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.001091/0.1533, allocations: 227.5 kB / 0.5576 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.1533, allocations: 7.938 kB / 0.5576 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.1534, allocations: 0 / 0.5576 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.1534, allocations: 0 / 0.5576 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.519e-05/0.1534, allocations: 0 / 0.5576 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.1534, allocations: 0 / 0.5576 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1546, allocations: 0.7454 MB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.1546, allocations: 3.938 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1546, allocations: 4 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.1555, allocations: 0.6356 MB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1555, allocations: 3.938 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1555, allocations: 4 kB / 0.559 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1556, allocations: 3.938 kB / 0.559 GB, free: 2.188 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.0006342/0.1562, allocations: 377 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.1562, allocations: 16.02 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.1563, allocations: 30.75 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.1563, allocations: 0.9375 kB / 0.5594 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1564, allocations: 160.4 kB / 0.5595 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1564, allocations: 4.359 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.1564, allocations: 384 / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1565, allocations: 37.83 kB / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1565, allocations: 0 / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.1566, allocations: 0 / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1566, allocations: 0 / 0.5596 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.1566, allocations: 4 kB / 0.5596 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.1567, allocations: 153.6 kB / 0.5597 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.1568, allocations: 14.58 kB / 0.5597 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.946e-05/0.1568, allocations: 12.95 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.1568, allocations: 0 / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.1569, allocations: 60.2 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1569, allocations: 0 / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002016/0.1571, allocations: 71.33 kB / 0.5599 GB, free: 1.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.1571, allocations: 77.11 kB / 0.5599 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.1572, allocations: 93.81 kB / 0.56 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1572, allocations: 25.7 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.1572, allocations: 84.27 kB / 0.5601 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1572, allocations: 4 kB / 0.5601 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1573, allocations: 9.719 kB / 0.5601 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1574, allocations: 318.8 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.1574, allocations: 0 / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.1574, allocations: 11.94 kB / 0.5605 GB, free: 416 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.1575, allocations: 60.27 kB / 0.5605 GB, free: 340 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1575, allocations: 4.062 kB / 0.5605 GB, free: 336 kB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.734e-05/0.1576, allocations: 59.34 kB / 0.5606 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.1576, allocations: 41.62 kB / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1576, allocations: 0 / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1576, allocations: 0 / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.1576, allocations: 0 / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1576, allocations: 0 / 0.5606 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.542e-05/0.1577, allocations: 3.938 kB / 0.5606 GB, free: 212 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1577, allocations: 0 / 0.5606 GB, free: 212 kB / 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 0.00011/0.1578, allocations: 145.8 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1578, allocations: 3.938 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-06/0.1578, allocations: 3.125 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1578, allocations: 0 / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1578, allocations: 4 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1578, allocations: 3.984 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1579, allocations: 141.7 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1579, allocations: 0 / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-07/0.1579, allocations: 0 / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1579, allocations: 3.938 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1579, allocations: 4 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1579, allocations: 4 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1579, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1581, allocations: 90.77 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.1581, allocations: 85.05 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1581, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.1581, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.1581, allocations: 3.984 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1581, allocations: 4.031 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.1582, allocations: 79.28 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1582, allocations: 0 / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005565/0.1587, allocations: 119.9 kB / 0.5613 GB, free: 15.42 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.00132/0.1601, allocations: 0.7226 MB / 0.562 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.1602, allocations: 63.39 kB / 0.562 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1602, allocations: 0 / 0.562 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.1602, allocations: 59.47 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1604, allocations: 5.969 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.1609, allocations: 130.6 kB / 0.5622 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1612, allocations: 0.669 MB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.143e-06/0.1612, allocations: 0 / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.1612, allocations: 11.42 kB / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1612, allocations: 0 / 0.5629 GB, free: 13.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.1904, allocations: 4.719 MB / 0.5675 GB, free: 8.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.163, allocations: 11.94 kB / 0.5675 GB, free: 8.973 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Math_TestMatrices3.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.198985388997244] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.232030547995237 8.254910805 8.095002041 Calling exit ...