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.001389/0.001389, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001439/0.001439, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.961 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.2264/0.2264, allocations: 44.91 MB / 358.8 MB, free: 6.258 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.002034/0.002034, allocations: 71.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3305, allocations: 65.46 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001517/0.332, allocations: 0.4911 MB / 0.5575 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.3349, allocations: 2.075 MB / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-06/0.3349, allocations: 0 / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-06/0.3349, allocations: 0 / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.12e-07/0.3349, allocations: 0 / 0.5595 GB, free: 5.18 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.001606/0.3365, allocations: 0.5643 MB / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 1.244e-05/0.3365, allocations: 0 / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.358e-05/0.3365, allocations: 0 / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-06/0.3366, allocations: 0 / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-06/0.3366, allocations: 0 / 0.5601 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.3366, allocations: 3.984 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001611/0.3382, allocations: 1.134 MB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-06/0.3382, allocations: 0 / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.386e-05/0.3382, allocations: 0 / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.3392, allocations: 0.8358 MB / 0.562 GB, free: 2.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3392, allocations: 4 kB / 0.562 GB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3392, allocations: 0 / 0.562 GB, free: 2.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.3392, allocations: 0 / 0.562 GB, free: 2.637 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.0003654/0.3396, allocations: 305.7 kB / 0.5623 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3396, allocations: 8.031 kB / 0.5623 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.3397, allocations: 106 kB / 0.5624 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3398, allocations: 76.22 kB / 0.5625 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3399, allocations: 189.8 kB / 0.5627 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.3399, allocations: 158.9 kB / 0.5628 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.34, allocations: 150.9 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.3401, allocations: 109.1 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.3401, allocations: 75.28 kB / 0.5631 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.3402, allocations: 150.6 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.223e-05/0.3402, allocations: 154.6 kB / 0.5634 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.3403, allocations: 154.6 kB / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.3406, allocations: 417 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.505e-05/0.3407, allocations: 165.1 kB / 0.5641 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.3407, allocations: 88.12 kB / 0.5642 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.3408, allocations: 79.28 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.309e-05/0.3408, allocations: 113.8 kB / 0.5644 GB, free: 48 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3408, allocations: 0 / 0.5644 GB, free: 48 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.533e-05/0.3409, allocations: 33.64 kB / 0.5644 GB, free: 8 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.341, allocations: 156.4 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.059e-05/0.3411, allocations: 89.86 kB / 0.5647 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3411, allocations: 29.7 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.3411, allocations: 80.14 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.3411, allocations: 4 kB / 0.5648 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.3411, allocations: 9.719 kB / 0.5648 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3413, allocations: 310.8 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-06/0.3413, allocations: 0 / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.3413, allocations: 3.938 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.29e-05/0.3413, allocations: 79.28 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/0.3413, allocations: 79.31 kB / 0.5652 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.373e-05/0.3414, allocations: 29.7 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.3414, allocations: 91.16 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.3415, allocations: 83.34 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.284e-05/0.3415, allocations: 154.6 kB / 0.5656 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.01e-05/0.3416, allocations: 79.22 kB / 0.5656 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.057e-05/0.3416, allocations: 154.6 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.3417, allocations: 83.22 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.3417, allocations: 75.28 kB / 0.5659 GB, free: 14.38 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.0001381/0.3419, allocations: 264.3 kB / 0.5662 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3419, allocations: 112.9 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.342, allocations: 111.7 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/0.3421, allocations: 180.3 kB / 0.5666 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.325e-05/0.3422, allocations: 180.2 kB / 0.5667 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.927e-05/0.3423, allocations: 180.3 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3425, allocations: 376.3 kB / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.3426, allocations: 108.9 kB / 0.5674 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.3426, allocations: 109 kB / 0.5675 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.918e-05/0.3427, allocations: 184.1 kB / 0.5677 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.3428, allocations: 180.2 kB / 0.5678 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-05/0.3428, allocations: 176.3 kB / 0.568 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001181/0.343, allocations: 192.1 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3431, allocations: 299.8 kB / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.3432, allocations: 116.9 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.3432, allocations: 176.3 kB / 0.5687 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.3433, allocations: 108.9 kB / 0.5689 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3434, allocations: 176.3 kB / 0.569 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.3435, allocations: 108.9 kB / 0.5691 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.373e-05/0.3435, allocations: 75.28 kB / 0.5692 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3435, allocations: 0 / 0.5692 GB, free: 10.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005782/0.3441, allocations: 155.6 kB / 0.5693 GB, free: 10.69 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.00104/0.3451, allocations: 0.9705 MB / 0.5703 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 4.868e-05/0.3452, allocations: 7.922 kB / 0.5703 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3452, allocations: 0 / 0.5703 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.3452, allocations: 4 kB / 0.5703 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3455, allocations: 459.7 kB / 0.5707 GB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.346, allocations: 218.1 kB / 0.571 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.3462, allocations: 0.6729 MB / 0.5716 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.187e-05/0.3463, allocations: 4 kB / 0.5716 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.3463, allocations: 11.44 kB / 0.5716 GB, free: 8.262 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3463, allocations: 0 / 0.5716 GB, free: 8.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.3777, allocations: 4.43 MB / 0.5759 GB, free: 3.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.27, allocations: 3.125 kB / 0.576 GB, free: 3.965 MB / 414.1 MB " [Timeout remaining time 649] (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.273750968000968] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.402963811000518 11.424228951 11.081602314 Calling exit ...