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.001443/0.001443, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001472/0.001472, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.441/1.441, 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.2702/0.2702, allocations: 46.96 MB / 360.9 MB, free: 4.125 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.001988/0.001988, allocations: 63.89 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 66.04 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001681/0.3103, allocations: 495.9 kB / 0.5611 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.3135, allocations: 1.961 MB / 0.563 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-06/0.3135, allocations: 4 kB / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.847e-06/0.3135, allocations: 0 / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-06/0.3135, allocations: 4 kB / 0.563 GB, free: 1.77 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.001809/0.3153, allocations: 0.5451 MB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.655e-05/0.3153, allocations: 4 kB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.3154, allocations: 7.984 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.975e-06/0.3154, allocations: 0 / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-06/0.3154, allocations: 0 / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-06/0.3154, allocations: 0 / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.3168, allocations: 0.8537 MB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-06/0.3168, allocations: 3.938 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.3168, allocations: 4 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009619/0.3178, allocations: 0.7657 MB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3178, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3178, allocations: 4 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3178, allocations: 0 / 0.5651 GB, free: 15.58 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.000368/0.3182, allocations: 305.6 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3182, allocations: 12.03 kB / 0.5654 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.711e-05/0.3183, allocations: 110 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.3184, allocations: 76.22 kB / 0.5656 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3185, allocations: 185.8 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.3186, allocations: 154.9 kB / 0.5659 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.3186, allocations: 150.9 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.3187, allocations: 105.1 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001001/0.3188, allocations: 75.28 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.3189, allocations: 154.6 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.319, allocations: 158.5 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.3191, allocations: 158.5 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.3194, allocations: 413 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3195, allocations: 169.1 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.3196, allocations: 84.14 kB / 0.5673 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.3196, allocations: 75.33 kB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.76e-05/0.3197, allocations: 117.8 kB / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.3197, allocations: 0 / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.356e-05/0.3198, allocations: 29.64 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.3198, allocations: 156.4 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.448e-05/0.3199, allocations: 89.86 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3199, allocations: 25.7 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.32, allocations: 92.06 kB / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.32, allocations: 0 / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.32, allocations: 9.719 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3201, allocations: 314.8 kB / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.3201, allocations: 0 / 0.5682 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.3202, allocations: 29.7 kB / 0.5682 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.3202, allocations: 79.22 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.3202, allocations: 75.28 kB / 0.5684 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.581e-05/0.3203, allocations: 37.67 kB / 0.5684 GB, free: 12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.3203, allocations: 83.22 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/0.3204, allocations: 75.36 kB / 0.5685 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.213e-05/0.3205, allocations: 162.6 kB / 0.5687 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.53e-05/0.3205, allocations: 79.22 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.15e-05/0.3206, allocations: 150.6 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.3207, allocations: 83.22 kB / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.3207, allocations: 79.28 kB / 0.5691 GB, free: 11.29 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.0001771/0.3209, allocations: 256.4 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.321, allocations: 108.9 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.321, allocations: 119.7 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.27e-05/0.3211, allocations: 176.3 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.943e-05/0.3212, allocations: 188.2 kB / 0.5699 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-05/0.3213, allocations: 176.3 kB / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3216, allocations: 376.2 kB / 0.5704 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.16e-05/0.3216, allocations: 105 kB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.3217, allocations: 101 kB / 0.5706 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001399/0.3218, allocations: 192.1 kB / 0.5708 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/0.3219, allocations: 176.3 kB / 0.571 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001215/0.322, allocations: 184.2 kB / 0.5711 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-05/0.3221, allocations: 184.3 kB / 0.5713 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.3224, allocations: 303.8 kB / 0.5716 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.3225, allocations: 108.9 kB / 0.5717 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3226, allocations: 188.2 kB / 0.5719 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.3226, allocations: 101 kB / 0.572 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.3228, allocations: 176.3 kB / 0.5722 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.3229, allocations: 112.9 kB / 0.5723 GB, free: 7.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.495e-05/0.3229, allocations: 75.28 kB / 0.5723 GB, free: 7.758 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3229, allocations: 3.938 kB / 0.5723 GB, free: 7.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007148/0.3236, allocations: 147.6 kB / 0.5725 GB, free: 7.609 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.001284/0.3249, allocations: 0.9885 MB / 0.5734 GB, free: 6.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.407e-05/0.325, allocations: 3.938 kB / 0.5734 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.325, allocations: 4 kB / 0.5734 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.325, allocations: 4 kB / 0.5735 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.3254, allocations: 467.7 kB / 0.5739 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.3258, allocations: 210.1 kB / 0.5741 GB, free: 5.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.222e-05/0.3259, allocations: 59.28 kB / 0.5742 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.614e-06/0.3259, allocations: 4 kB / 0.5742 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.3259, allocations: 7.438 kB / 0.5742 GB, free: 5.793 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3259, allocations: 0 / 0.5742 GB, free: 5.793 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.361, allocations: 4.837 MB / 0.5789 GB, free: 1.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.85, allocations: 13.62 kB / 0.5789 GB, free: 1.074 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.76994930068031] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.95615208009258 11.973500957 11.652394326 Calling exit ...