Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.001736/0.001736, 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.0021/0.0021, 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.491/1.491, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2336/0.2336, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",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.002186/0.002186, allocations: 71.88 kB / 499.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.14, allocations: 65.42 MB / 0.5517 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001856/0.1418, allocations: 0.4949 MB / 0.5522 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1442, allocations: 1.618 MB / 0.5538 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.1443, allocations: 4 kB / 0.5538 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.1443, allocations: 0 / 0.5538 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.08e-06/0.1443, allocations: 0 / 0.5538 GB, free: 8.023 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009465/0.1452, allocations: 271.2 kB / 0.5541 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.1453, allocations: 4 kB / 0.5541 GB, free: 7.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.1453, allocations: 4 kB / 0.5541 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.1453, allocations: 0 / 0.5541 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.1453, allocations: 3.984 kB / 0.5541 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-06/0.1454, allocations: 0 / 0.5541 GB, free: 7.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008026/0.1462, allocations: 0.5382 MB / 0.5546 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-06/0.1462, allocations: 3.984 kB / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.1462, allocations: 4 kB / 0.5546 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.1467, allocations: 319.4 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1467, allocations: 4 kB / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1467, allocations: 0 / 0.5549 GB, free: 6.887 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1467, allocations: 0 / 0.5549 GB, free: 6.887 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.0004524/0.1471, allocations: 372.9 kB / 0.5553 GB, free: 6.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1472, allocations: 8.031 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1472, allocations: 30.75 kB / 0.5553 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1472, allocations: 0.9375 kB / 0.5553 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1474, allocations: 164.4 kB / 0.5555 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1474, allocations: 384 / 0.5555 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.1474, allocations: 8.359 kB / 0.5555 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.1475, allocations: 29.83 kB / 0.5555 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1475, allocations: 4 kB / 0.5555 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1475, allocations: 0 / 0.5555 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1475, allocations: 0 / 0.5555 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.1475, allocations: 3.938 kB / 0.5555 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1477, allocations: 145.7 kB / 0.5556 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.02e-05/0.1477, allocations: 26.59 kB / 0.5557 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.1477, allocations: 8.859 kB / 0.5557 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-06/0.1477, allocations: 0 / 0.5557 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.1478, allocations: 64.27 kB / 0.5557 GB, free: 5.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1478, allocations: 0 / 0.5557 GB, free: 5.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001852/0.148, allocations: 75.22 kB / 0.5558 GB, free: 5.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.148, allocations: 81.09 kB / 0.5559 GB, free: 5.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.1481, allocations: 93.81 kB / 0.556 GB, free: 5.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1481, allocations: 25.83 kB / 0.556 GB, free: 5.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.1481, allocations: 84.14 kB / 0.5561 GB, free: 5.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.1481, allocations: 0 / 0.5561 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.1482, allocations: 13.72 kB / 0.5561 GB, free: 5.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1483, allocations: 310.8 kB / 0.5564 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-06/0.1483, allocations: 0 / 0.5564 GB, free: 5.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.1483, allocations: 0 / 0.5564 GB, free: 5.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.764e-05/0.1484, allocations: 64.27 kB / 0.5565 GB, free: 5.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1484, allocations: 8 kB / 0.5565 GB, free: 5.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.038e-05/0.1485, allocations: 63.39 kB / 0.5565 GB, free: 4.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.1485, allocations: 33.64 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1485, allocations: 4 kB / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1485, allocations: 0 / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-07/0.1485, allocations: 0 / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1485, allocations: 0 / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.1485, allocations: 0 / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1485, allocations: 0 / 0.5566 GB, free: 4.918 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 0.000102/0.1486, allocations: 149.8 kB / 0.5567 GB, free: 4.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1487, allocations: 3.938 kB / 0.5567 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-06/0.1487, allocations: 3.125 kB / 0.5567 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1487, allocations: 0 / 0.5567 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1487, allocations: 4 kB / 0.5567 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1487, allocations: 4 kB / 0.5567 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.1488, allocations: 145.7 kB / 0.5569 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1488, allocations: 0 / 0.5569 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.1488, allocations: 0 / 0.5569 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1488, allocations: 3.938 kB / 0.5569 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1488, allocations: 7.984 kB / 0.5569 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1488, allocations: 4 kB / 0.5569 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1488, allocations: 3.938 kB / 0.5569 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.1489, allocations: 86.83 kB / 0.557 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.149, allocations: 88.98 kB / 0.557 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.149, allocations: 0 / 0.557 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.048e-05/0.149, allocations: 3.938 kB / 0.557 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.149, allocations: 4.031 kB / 0.5571 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.149, allocations: 0 / 0.5571 GB, free: 4.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.206e-05/0.149, allocations: 75.28 kB / 0.5571 GB, free: 4.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.149, allocations: 4 kB / 0.5571 GB, free: 4.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1494, allocations: 63.8 kB / 0.5572 GB, free: 4.172 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.0008029/0.1502, allocations: 0.7179 MB / 0.5579 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.1503, allocations: 63.41 kB / 0.558 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1503, allocations: 0 / 0.558 GB, free: 3.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.1503, allocations: 59.39 kB / 0.558 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1505, allocations: 0 / 0.558 GB, free: 3.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.1508, allocations: 134.5 kB / 0.5581 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1511, allocations: 0.669 MB / 0.5588 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.301e-06/0.1511, allocations: 0 / 0.5588 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.1511, allocations: 7.438 kB / 0.5588 GB, free: 2.406 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1511, allocations: 8.062 kB / 0.5588 GB, free: 2.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.1742, allocations: 2.109 MB / 0.5609 GB, free: 360 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/7.966, allocations: 5.828 kB / 0.5609 GB, free: 356 kB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.044396649114788] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.03120536962524 8.057249262 7.905398525 Calling exit ...