Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001306/0.001306, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00138/0.00138, allocations: 210.8 kB / 23.73 MB, free: 4.523 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.404/1.404, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2178/0.2178, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.89 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 66.04 MB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001614/0.3344, allocations: 489.1 kB / 0.561 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.3376, allocations: 1.96 MB / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-06/0.3376, allocations: 0 / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.516e-06/0.3376, allocations: 0 / 0.563 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.403e-06/0.3376, allocations: 4 kB / 0.563 GB, free: 1.648 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.00174/0.3393, allocations: 0.5646 MB / 0.5635 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.433e-05/0.3394, allocations: 4 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.3394, allocations: 0 / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.077e-06/0.3394, allocations: 3.984 kB / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-06/0.3394, allocations: 0 / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-06/0.3394, allocations: 0 / 0.5635 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.3407, allocations: 0.8693 MB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.3407, allocations: 0 / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.361e-05/0.3407, allocations: 4 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009042/0.3416, allocations: 0.7773 MB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3416, allocations: 0 / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3416, allocations: 0 / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3417, allocations: 0 / 0.5651 GB, free: 15.43 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.0003434/0.342, allocations: 301.7 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.342, allocations: 12.03 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.066e-05/0.3421, allocations: 106 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.693e-05/0.3422, allocations: 76.22 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3423, allocations: 185.8 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.3423, allocations: 154.9 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.3424, allocations: 154.9 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.466e-05/0.3425, allocations: 105.1 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.3425, allocations: 75.28 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.3426, allocations: 154.5 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.3427, allocations: 154.6 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.3427, allocations: 150.6 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.343, allocations: 413 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.3431, allocations: 169.1 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.3431, allocations: 80.14 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.3432, allocations: 79.27 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.823e-05/0.3433, allocations: 125.8 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3433, allocations: 3.938 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.364e-05/0.3433, allocations: 29.7 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.915e-05/0.3434, allocations: 152.4 kB / 0.5677 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.3435, allocations: 89.86 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3435, allocations: 25.7 kB / 0.5678 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.3435, allocations: 84.14 kB / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.3435, allocations: 0 / 0.5679 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.3436, allocations: 9.719 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3437, allocations: 310.8 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-06/0.3437, allocations: 0 / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.707e-05/0.3438, allocations: 37.64 kB / 0.5682 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.639e-05/0.3438, allocations: 75.28 kB / 0.5683 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-05/0.3438, allocations: 75.28 kB / 0.5684 GB, free: 11.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.474e-05/0.3439, allocations: 33.69 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.3439, allocations: 87.22 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.344, allocations: 75.36 kB / 0.5686 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.222e-05/0.3441, allocations: 162.5 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.499e-05/0.3441, allocations: 75.28 kB / 0.5688 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.192e-05/0.3442, allocations: 154.5 kB / 0.5689 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.3443, allocations: 83.28 kB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.3443, allocations: 75.28 kB / 0.5691 GB, free: 11.16 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.0001439/0.3444, allocations: 276.3 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.3445, allocations: 108.9 kB / 0.5694 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.3446, allocations: 107.8 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.546e-05/0.3446, allocations: 180.2 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-05/0.3447, allocations: 180.3 kB / 0.5699 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-05/0.3448, allocations: 180.2 kB / 0.5701 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.345, allocations: 376.2 kB / 0.5704 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/0.3451, allocations: 105 kB / 0.5705 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.3451, allocations: 104.9 kB / 0.5706 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.235e-05/0.3452, allocations: 188.2 kB / 0.5708 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/0.3453, allocations: 184.2 kB / 0.571 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.708e-05/0.3454, allocations: 180.3 kB / 0.5712 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.89e-05/0.3455, allocations: 180.3 kB / 0.5713 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.3456, allocations: 303.8 kB / 0.5716 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.3457, allocations: 116.8 kB / 0.5717 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3458, allocations: 184.2 kB / 0.5719 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.574e-05/0.3459, allocations: 101 kB / 0.572 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.346, allocations: 184.2 kB / 0.5722 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.346, allocations: 105 kB / 0.5723 GB, free: 7.684 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.192e-05/0.3461, allocations: 75.28 kB / 0.5723 GB, free: 7.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 4 kB / 0.5723 GB, free: 7.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006563/0.3467, allocations: 147.6 kB / 0.5725 GB, free: 7.461 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.001044/0.3478, allocations: 0.9876 MB / 0.5735 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.899e-05/0.3478, allocations: 0 / 0.5735 GB, free: 6.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3478, allocations: 7.938 kB / 0.5735 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.3478, allocations: 0 / 0.5735 GB, free: 6.453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3482, allocations: 459.7 kB / 0.5739 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.3486, allocations: 226 kB / 0.5741 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.3487, allocations: 51.36 kB / 0.5742 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.504e-06/0.3487, allocations: 4 kB / 0.5742 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.3487, allocations: 7.438 kB / 0.5742 GB, free: 5.656 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3487, allocations: 0 / 0.5742 GB, free: 5.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.381, allocations: 4.853 MB / 0.5789 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.42, allocations: 12.2 kB / 0.5789 GB, free: 0.9219 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.20707779400982] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.522913029999472 11.538290353 11.193550524 Calling exit ...