Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001565/0.001565, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001752/0.001752, allocations: 216 kB / 23.73 MB, free: 4.156 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.226/0.226, allocations: 44.93 MB / 358.8 MB, free: 6.039 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",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.002128/0.002128, allocations: 67.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3532, allocations: 65.47 MB / 0.5569 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001639/0.3549, allocations: 0.4915 MB / 0.5574 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.358, allocations: 1.962 MB / 0.5593 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-06/0.358, allocations: 0 / 0.5593 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.175e-06/0.358, allocations: 0 / 0.5593 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.72e-07/0.358, allocations: 0 / 0.5593 GB, free: 5.074 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.3597, allocations: 0.5605 MB / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.276e-05/0.3598, allocations: 0 / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.407e-05/0.3598, allocations: 0 / 0.5599 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-06/0.3598, allocations: 4 kB / 0.5599 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-06/0.3598, allocations: 0 / 0.5599 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-06/0.3598, allocations: 0 / 0.5599 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3612, allocations: 0.8537 MB / 0.5607 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.3612, allocations: 0 / 0.5607 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.158e-06/0.3612, allocations: 0 / 0.5607 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009717/0.3621, allocations: 0.7773 MB / 0.5615 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3621, allocations: 0 / 0.5615 GB, free: 2.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3621, allocations: 0 / 0.5615 GB, free: 2.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.3622, allocations: 0 / 0.5615 GB, free: 2.879 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003515/0.3625, allocations: 305.7 kB / 0.5618 GB, free: 2.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3625, allocations: 8.031 kB / 0.5618 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.827e-05/0.3626, allocations: 106 kB / 0.5619 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.3627, allocations: 88.2 kB / 0.562 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.3628, allocations: 177.8 kB / 0.5621 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.672e-05/0.3629, allocations: 150.9 kB / 0.5623 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.3629, allocations: 150.9 kB / 0.5624 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.142e-05/0.363, allocations: 117 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.14e-05/0.363, allocations: 75.28 kB / 0.5626 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.3631, allocations: 154.5 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.3632, allocations: 158.5 kB / 0.5629 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.465e-05/0.3633, allocations: 154.6 kB / 0.5631 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.3636, allocations: 409 kB / 0.5634 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3637, allocations: 181.1 kB / 0.5636 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.168e-05/0.3637, allocations: 80.14 kB / 0.5637 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.3637, allocations: 75.33 kB / 0.5638 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.3638, allocations: 113.8 kB / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3638, allocations: 4 kB / 0.5639 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.402e-05/0.3639, allocations: 33.64 kB / 0.5639 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/0.364, allocations: 156.3 kB / 0.5641 GB, free: 72 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.364, allocations: 89.86 kB / 0.5641 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.364, allocations: 25.7 kB / 0.5642 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3641, allocations: 80.14 kB / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.3641, allocations: 0 / 0.5642 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.3641, allocations: 17.72 kB / 0.5643 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3642, allocations: 310.8 kB / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-06/0.3642, allocations: 0 / 0.5646 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.3643, allocations: 29.69 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.3643, allocations: 83.31 kB / 0.5647 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.093e-05/0.3643, allocations: 75.28 kB / 0.5647 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.981e-05/0.3644, allocations: 25.7 kB / 0.5648 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.3644, allocations: 89.41 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.3645, allocations: 79.3 kB / 0.5649 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.688e-05/0.3646, allocations: 154.6 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.3646, allocations: 83.22 kB / 0.5652 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-05/0.3647, allocations: 150.6 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.3647, allocations: 83.27 kB / 0.5654 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3648, allocations: 83.22 kB / 0.5655 GB, free: 14.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001278/0.3649, allocations: 260.4 kB / 0.5657 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.365, allocations: 104.9 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.365, allocations: 115.7 kB / 0.5659 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.523e-05/0.3651, allocations: 180.3 kB / 0.5661 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.196e-05/0.3652, allocations: 180.2 kB / 0.5663 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/0.3653, allocations: 184.2 kB / 0.5664 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.3655, allocations: 364.3 kB / 0.5668 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.098e-05/0.3656, allocations: 116.9 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.3656, allocations: 105 kB / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-05/0.3657, allocations: 184.2 kB / 0.5672 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/0.3658, allocations: 188.2 kB / 0.5673 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.616e-05/0.3658, allocations: 176.3 kB / 0.5675 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.502e-05/0.3659, allocations: 184.2 kB / 0.5677 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3661, allocations: 307.8 kB / 0.568 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.3661, allocations: 108.9 kB / 0.5681 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.3662, allocations: 176.3 kB / 0.5683 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.3663, allocations: 112.9 kB / 0.5684 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.3664, allocations: 180.3 kB / 0.5685 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.3664, allocations: 101 kB / 0.5686 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.3665, allocations: 83.22 kB / 0.5687 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3665, allocations: 0 / 0.5687 GB, free: 11.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005892/0.3671, allocations: 151.6 kB / 0.5689 GB, free: 10.9 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.001043/0.3681, allocations: 0.9735 MB / 0.5698 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.432e-05/0.3682, allocations: 4 kB / 0.5698 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3682, allocations: 0 / 0.5698 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.3682, allocations: 3.938 kB / 0.5698 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3685, allocations: 467.6 kB / 0.5703 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.369, allocations: 222 kB / 0.5705 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.369, allocations: 51.36 kB / 0.5705 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.105e-06/0.369, allocations: 0 / 0.5705 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.369, allocations: 11.44 kB / 0.5705 GB, free: 9.102 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.369, allocations: 0 / 0.5705 GB, free: 9.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.4019, allocations: 4.839 MB / 0.5753 GB, free: 4.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.58, allocations: 14.36 kB / 0.5753 GB, free: 4.383 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_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_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.697382255923003] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.718886197078973 11.742121165 11.376403587 Calling exit ...