Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002075/0.002075, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 254.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2271/0.2271, allocations: 46.91 MB / 357.7 MB, free: 10.26 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 76.2 kB / 0.4916 GB, free: 7.824 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1329, allocations: 66.04 MB / 0.5561 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001523/0.1344, allocations: 498.6 kB / 0.5566 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1375, allocations: 2.046 MB / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-06/0.1375, allocations: 0 / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.576e-06/0.1375, allocations: 0 / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.122e-06/0.1375, allocations: 0 / 0.5586 GB, free: 3.09 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001583/0.1391, allocations: 0.5135 MB / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.279e-05/0.1391, allocations: 0 / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.435e-05/0.1391, allocations: 0 / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-06/0.1391, allocations: 0 / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-06/0.1391, allocations: 0 / 0.5591 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-06/0.1391, allocations: 8 kB / 0.5591 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1405, allocations: 0.9668 MB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.1406, allocations: 3.984 kB / 0.5601 GB, free: 1.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.1406, allocations: 4 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.1415, allocations: 0.7989 MB / 0.5609 GB, free: 0.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1415, allocations: 4 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1415, allocations: 0 / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1415, allocations: 0 / 0.5609 GB, free: 0.7891 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004657/0.142, allocations: 378.8 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1421, allocations: 12.03 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/0.1421, allocations: 110 kB / 0.5613 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.1422, allocations: 80.22 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1423, allocations: 239.7 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.1424, allocations: 150.9 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/0.1425, allocations: 150.9 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.789e-05/0.1425, allocations: 113.1 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.1426, allocations: 79.22 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.1426, allocations: 154.5 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-05/0.1427, allocations: 150.6 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.535e-05/0.1428, allocations: 150.6 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.1431, allocations: 446 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1432, allocations: 173.1 kB / 0.5631 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.1432, allocations: 84.08 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1433, allocations: 79.22 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.177e-05/0.1433, allocations: 117.8 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1433, allocations: 0 / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.237e-05/0.1434, allocations: 29.7 kB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.1435, allocations: 152.4 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.922e-05/0.1435, allocations: 93.86 kB / 0.5637 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.1436, allocations: 25.7 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.1436, allocations: 80.14 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-06/0.1436, allocations: 0 / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-05/0.1436, allocations: 9.719 kB / 0.5638 GB, free: 13.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1438, allocations: 314.8 kB / 0.5641 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.648e-06/0.1438, allocations: 4 kB / 0.5641 GB, free: 13.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.1439, allocations: 7.922 kB / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.1439, allocations: 75.28 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.293e-05/0.1439, allocations: 75.28 kB / 0.5642 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.81e-05/0.144, allocations: 37.75 kB / 0.5643 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.144, allocations: 83.22 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.1441, allocations: 79.31 kB / 0.5644 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.477e-05/0.1442, allocations: 154.5 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.1442, allocations: 79.28 kB / 0.5646 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-05/0.1443, allocations: 154.5 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.1444, allocations: 79.27 kB / 0.5649 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1444, allocations: 75.28 kB / 0.5649 GB, free: 12.35 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: 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.0001542/0.1445, allocations: 276.3 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.568e-05/0.1446, allocations: 104.9 kB / 0.5653 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.1447, allocations: 107.9 kB / 0.5654 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-05/0.1448, allocations: 184.2 kB / 0.5656 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.399e-05/0.1448, allocations: 180.2 kB / 0.5658 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.882e-05/0.1449, allocations: 184.3 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.1452, allocations: 401.1 kB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.515e-05/0.1452, allocations: 105 kB / 0.5664 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.1453, allocations: 108.9 kB / 0.5665 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.068e-05/0.1454, allocations: 180.2 kB / 0.5667 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.1455, allocations: 184.2 kB / 0.5669 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.414e-05/0.1455, allocations: 188.3 kB / 0.567 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.38e-05/0.1456, allocations: 184.2 kB / 0.5672 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1458, allocations: 303.8 kB / 0.5675 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.1459, allocations: 190 kB / 0.5677 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.146, allocations: 180.3 kB / 0.5679 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.1461, allocations: 109 kB / 0.568 GB, free: 9.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.1461, allocations: 180.2 kB / 0.5681 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.1462, allocations: 104.9 kB / 0.5682 GB, free: 8.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.1462, allocations: 75.28 kB / 0.5683 GB, free: 8.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1462, allocations: 0 / 0.5683 GB, free: 8.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.1469, allocations: 155.6 kB / 0.5685 GB, free: 8.52 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: 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.001202/0.1481, allocations: 0.985 MB / 0.5694 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.641e-05/0.1482, allocations: 0 / 0.5694 GB, free: 7.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.015e-05/0.1482, allocations: 4 kB / 0.5694 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1482, allocations: 0 / 0.5694 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1486, allocations: 455.7 kB / 0.5699 GB, free: 7.062 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.1491, allocations: 241.5 kB / 0.5701 GB, free: 6.785 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1494, allocations: 0.669 MB / 0.5707 GB, free: 6.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.967e-06/0.1494, allocations: 0 / 0.5707 GB, free: 6.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.1494, allocations: 7.438 kB / 0.5708 GB, free: 6.082 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1494, allocations: 3.938 kB / 0.5708 GB, free: 6.078 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.1786, allocations: 4.343 MB / 0.575 GB, free: 1.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.261/8.44, allocations: 7.859 kB / 0.575 GB, free: 1.855 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.47136073699221] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.508525719400495 8.524755776 8.380139055 Calling exit ...