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.001225/0.001225, allocations: 105 kB / 19.74 MB, free: 2.453 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.00141/0.00141, allocations: 216.3 kB / 22.92 MB, free: 5.195 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.314/1.314, allocations: 230.2 MB / 256.2 MB, free: 8.574 MB / 206.1 MB " [Timeout remaining time 179] 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.2022/0.2022, allocations: 46.9 MB / 359.3 MB, free: 4.934 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.002162/0.002162, allocations: 83.84 kB / 0.494 GB, free: 9.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2625, allocations: 65.97 MB / 0.5584 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001373/0.2639, allocations: 493 kB / 0.5589 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.2666, allocations: 2.081 MB / 0.5609 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-06/0.2666, allocations: 0 / 0.5609 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.916e-06/0.2666, allocations: 0 / 0.5609 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.62e-07/0.2666, allocations: 0 / 0.5609 GB, free: 2.605 MB / 398.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.001341/0.2679, allocations: 0.5055 MB / 0.5614 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.337e-05/0.2679, allocations: 3.984 kB / 0.5614 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.219e-05/0.2679, allocations: 3.938 kB / 0.5614 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.841e-06/0.268, allocations: 0 / 0.5614 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-06/0.268, allocations: 0 / 0.5614 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-06/0.268, allocations: 0 / 0.5614 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.2692, allocations: 0.9745 MB / 0.5623 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-06/0.2693, allocations: 0 / 0.5623 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.118e-05/0.2693, allocations: 0 / 0.5623 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.2701, allocations: 0.8085 MB / 0.5631 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2701, allocations: 7.984 kB / 0.5631 GB, free: 312 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2701, allocations: 0 / 0.5631 GB, free: 312 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2701, allocations: 0 / 0.5631 GB, free: 312 kB / 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.0003847/0.2705, allocations: 378.8 kB / 0.5635 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2705, allocations: 12.03 kB / 0.5635 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.2706, allocations: 106 kB / 0.5636 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.2707, allocations: 76.22 kB / 0.5637 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2708, allocations: 239.7 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.2709, allocations: 150.9 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.2709, allocations: 150.9 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.79e-05/0.271, allocations: 109 kB / 0.5643 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.271, allocations: 79.28 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.2711, allocations: 150.6 kB / 0.5645 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.2711, allocations: 158.6 kB / 0.5647 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.375e-05/0.2712, allocations: 154.5 kB / 0.5648 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.2715, allocations: 441.9 kB / 0.5652 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.2716, allocations: 169.1 kB / 0.5654 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.2716, allocations: 92.14 kB / 0.5655 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.2717, allocations: 75.28 kB / 0.5656 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.2717, allocations: 109.8 kB / 0.5657 GB, free: 13.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.2717, allocations: 0 / 0.5657 GB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.115e-05/0.2718, allocations: 25.75 kB / 0.5657 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.2719, allocations: 156.4 kB / 0.5658 GB, free: 13.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.172e-05/0.2719, allocations: 101.8 kB / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2719, allocations: 25.7 kB / 0.566 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.272, allocations: 84.12 kB / 0.566 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.272, allocations: 0 / 0.566 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.272, allocations: 9.719 kB / 0.5661 GB, free: 13.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2721, allocations: 314.8 kB / 0.5664 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-06/0.2721, allocations: 0 / 0.5664 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.2721, allocations: 4 kB / 0.5664 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.2722, allocations: 79.31 kB / 0.5664 GB, free: 12.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/0.2722, allocations: 75.28 kB / 0.5665 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.884e-05/0.2722, allocations: 25.7 kB / 0.5665 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.2723, allocations: 91.16 kB / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/0.2723, allocations: 83.3 kB / 0.5667 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.727e-05/0.2724, allocations: 154.5 kB / 0.5668 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.927e-05/0.2724, allocations: 79.28 kB / 0.5669 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.238e-05/0.2725, allocations: 158.5 kB / 0.5671 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.2725, allocations: 75.28 kB / 0.5671 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.2726, allocations: 83.22 kB / 0.5672 GB, free: 11.86 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.000121/0.2727, allocations: 260.4 kB / 0.5675 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.2728, allocations: 104.9 kB / 0.5676 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.2728, allocations: 115.8 kB / 0.5677 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.118e-05/0.2729, allocations: 180.3 kB / 0.5679 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.847e-05/0.273, allocations: 184.3 kB / 0.568 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.582e-05/0.273, allocations: 184.2 kB / 0.5682 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2733, allocations: 397.2 kB / 0.5686 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/0.2733, allocations: 108.9 kB / 0.5687 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.2734, allocations: 109 kB / 0.5688 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.476e-05/0.2734, allocations: 188.1 kB / 0.569 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.2735, allocations: 184.2 kB / 0.5692 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.711e-05/0.2736, allocations: 184.2 kB / 0.5693 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.468e-05/0.2737, allocations: 180.2 kB / 0.5695 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.2738, allocations: 303.8 kB / 0.5698 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.2739, allocations: 190 kB / 0.57 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.274, allocations: 176.3 kB / 0.5701 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.03e-05/0.2741, allocations: 108.9 kB / 0.5702 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.2741, allocations: 176.3 kB / 0.5704 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.2742, allocations: 105 kB / 0.5705 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.2742, allocations: 75.28 kB / 0.5706 GB, free: 8.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2742, allocations: 3.938 kB / 0.5706 GB, free: 8.199 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.2747, allocations: 155.6 kB / 0.5707 GB, free: 8.047 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.0009537/0.2757, allocations: 0.9687 MB / 0.5717 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 3.46e-05/0.2757, allocations: 0 / 0.5717 GB, free: 7.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2757, allocations: 4 kB / 0.5717 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-06/0.2757, allocations: 8.422 kB / 0.5717 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.2761, allocations: 463.6 kB / 0.5721 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.2765, allocations: 217.6 kB / 0.5723 GB, free: 6.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.2768, allocations: 0.6729 MB / 0.573 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.422e-06/0.2768, allocations: 0 / 0.573 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.2768, allocations: 11.44 kB / 0.573 GB, free: 5.621 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2768, allocations: 0 / 0.573 GB, free: 5.621 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.3015, allocations: 4.306 MB / 0.5772 GB, free: 1.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.307, allocations: 3.375 kB / 0.5772 GB, free: 1.375 MB / 414.1 MB " [Timeout remaining time 653] (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: 9.834433449010248]