Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001285/0.001285, allocations: 123.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.001339/0.001339, allocations: 200.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.535/1.535, 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.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.2371/0.2371, allocations: 46.91 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.91 kB / 0.4909 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1439, allocations: 65.98 MB / 0.5554 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001784/0.1456, allocations: 0.4911 MB / 0.5558 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.1489, allocations: 2.156 MB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.149, allocations: 0 / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.149, allocations: 3.938 kB / 0.5579 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.149, allocations: 0 / 0.5579 GB, free: 3.215 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.002253/0.1512, allocations: 0.7164 MB / 0.5586 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.1513, allocations: 4 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.1513, allocations: 0 / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.452e-05/0.1513, allocations: 0 / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.187e-05/0.1514, allocations: 3.984 kB / 0.5586 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.21e-06/0.1514, allocations: 4 kB / 0.5587 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.1537, allocations: 1.58 MB / 0.5602 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-06/0.1537, allocations: 0 / 0.5602 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1538, allocations: 0 / 0.5602 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.1556, allocations: 1.555 MB / 0.5617 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1556, allocations: 0 / 0.5617 GB, free: 15.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1556, allocations: 4 kB / 0.5617 GB, free: 15.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1556, allocations: 0 / 0.5617 GB, free: 15.35 MB / 430.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.0007328/0.1564, allocations: 420.5 kB / 0.5621 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.1564, allocations: 12.03 kB / 0.5621 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.1564, allocations: 34.69 kB / 0.5622 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.1565, allocations: 0.9375 kB / 0.5622 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1566, allocations: 168.3 kB / 0.5623 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1566, allocations: 384 / 0.5623 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1566, allocations: 3.938 kB / 0.5623 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1567, allocations: 41.69 kB / 0.5624 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1567, allocations: 3.938 kB / 0.5624 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1567, allocations: 0 / 0.5624 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1567, allocations: 0 / 0.5624 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.1568, allocations: 4 kB / 0.5624 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.1569, allocations: 141.7 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.157, allocations: 22.45 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.157, allocations: 12.95 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.157, allocations: 4 kB / 0.5625 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.905e-05/0.1571, allocations: 64.25 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1571, allocations: 0 / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002032/0.1573, allocations: 63.36 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.1574, allocations: 77.11 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.418e-05/0.1574, allocations: 89.86 kB / 0.5628 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1574, allocations: 25.7 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.541e-05/0.1575, allocations: 88.2 kB / 0.5629 GB, free: 13.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1575, allocations: 11.98 kB / 0.5629 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.1575, allocations: 9.719 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1577, allocations: 310.8 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.1577, allocations: 0 / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.1577, allocations: 4 kB / 0.5633 GB, free: 13.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.1577, allocations: 60.27 kB / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1578, allocations: 0 / 0.5633 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.537e-05/0.1578, allocations: 71.39 kB / 0.5634 GB, free: 13.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.1579, allocations: 35.58 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1579, allocations: 0 / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1579, allocations: 0 / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1579, allocations: 0 / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1579, allocations: 3.938 kB / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1579, allocations: 0 / 0.5634 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1579, allocations: 0 / 0.5634 GB, free: 13.32 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.746e-05/0.158, allocations: 137.7 kB / 0.5636 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.158, allocations: 11.95 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-06/0.158, allocations: 3.125 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.158, allocations: 4 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.158, allocations: 0 / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.158, allocations: 0 / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.1582, allocations: 165.5 kB / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1582, allocations: 0 / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.1582, allocations: 0 / 0.5637 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1582, allocations: 3.984 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1582, allocations: 4 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1582, allocations: 0 / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1582, allocations: 4 kB / 0.5637 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1583, allocations: 86.78 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.1583, allocations: 85.09 kB / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1583, allocations: 0 / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-06/0.1584, allocations: 3.938 kB / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1584, allocations: 0 / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1584, allocations: 0 / 0.5639 GB, free: 12.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.1584, allocations: 83.31 kB / 0.564 GB, free: 12.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1584, allocations: 0 / 0.564 GB, free: 12.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001017/0.1594, allocations: 279.5 kB / 0.5643 GB, free: 12.36 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.001875/0.1613, allocations: 0.9296 MB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001223/0.1614, allocations: 71.33 kB / 0.5652 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1614, allocations: 0 / 0.5652 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.1615, allocations: 51.41 kB / 0.5653 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1616, allocations: 7.938 kB / 0.5653 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.1621, allocations: 162.3 kB / 0.5654 GB, free: 11.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1624, allocations: 0.6729 MB / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.162e-06/0.1624, allocations: 0 / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.1625, allocations: 7.438 kB / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1625, allocations: 128 / 0.5661 GB, free: 10.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/0.1974, allocations: 8.228 MB / 0.5741 GB, free: 2.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.392, allocations: 7.672 kB / 0.5741 GB, free: 2.176 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.437323933991138] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.461372120000306 8.476619437 8.318025888 Calling exit ...