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.001263/0.001263, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001429/0.001429, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.443/1.443, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.2193/0.2193, allocations: 44.91 MB / 355.1 MB, free: 12.36 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.002053/0.002053, allocations: 71.88 kB / 499.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1313, allocations: 65.42 MB / 0.5517 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001857/0.1332, allocations: 0.497 MB / 0.5522 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1364, allocations: 2.046 MB / 0.5542 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-06/0.1364, allocations: 0 / 0.5542 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.648e-06/0.1364, allocations: 7.938 kB / 0.5542 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-07/0.1364, allocations: 0 / 0.5542 GB, free: 7.613 MB / 414.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.00166/0.1381, allocations: 0.5056 MB / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 2.441e-05/0.1381, allocations: 0 / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.1382, allocations: 0 / 0.5547 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.276e-06/0.1382, allocations: 4 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-06/0.1382, allocations: 0 / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-06/0.1382, allocations: 0 / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.1397, allocations: 0.9707 MB / 0.5557 GB, free: 6.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.1397, allocations: 3.984 kB / 0.5557 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.466e-05/0.1397, allocations: 0 / 0.5557 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.141, allocations: 0.8031 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.141, allocations: 0 / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.141, allocations: 0 / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.141, allocations: 4 kB / 0.5565 GB, free: 5.32 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.0005248/0.1415, allocations: 382.8 kB / 0.5568 GB, free: 4.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1416, allocations: 8.031 kB / 0.5568 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.222e-05/0.1417, allocations: 110 kB / 0.5569 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.704e-05/0.1417, allocations: 80.2 kB / 0.557 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.1419, allocations: 235.7 kB / 0.5572 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.1419, allocations: 154.9 kB / 0.5574 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.142, allocations: 154.9 kB / 0.5575 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.1421, allocations: 105.1 kB / 0.5576 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/0.1421, allocations: 75.28 kB / 0.5577 GB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.597e-05/0.1422, allocations: 150.6 kB / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.1423, allocations: 158.6 kB / 0.558 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.1423, allocations: 154.6 kB / 0.5581 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.1426, allocations: 445.9 kB / 0.5586 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1427, allocations: 169.1 kB / 0.5587 GB, free: 2.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.1428, allocations: 80.14 kB / 0.5588 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.1428, allocations: 75.28 kB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/0.1429, allocations: 121.7 kB / 0.559 GB, free: 2.535 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.1429, allocations: 0 / 0.559 GB, free: 2.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.788e-05/0.143, allocations: 33.64 kB / 0.559 GB, free: 2.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.1431, allocations: 152.4 kB / 0.5592 GB, free: 2.328 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.1431, allocations: 89.86 kB / 0.5593 GB, free: 2.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1432, allocations: 25.7 kB / 0.5593 GB, free: 2.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.1432, allocations: 80.14 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.1432, allocations: 8 kB / 0.5594 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.1432, allocations: 9.719 kB / 0.5594 GB, free: 2.094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1434, allocations: 322.8 kB / 0.5597 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.771e-06/0.1434, allocations: 0 / 0.5597 GB, free: 1.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.1434, allocations: 0 / 0.5597 GB, free: 1.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.1434, allocations: 79.28 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-05/0.1435, allocations: 75.28 kB / 0.5598 GB, free: 1.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.642e-05/0.1435, allocations: 29.64 kB / 0.5599 GB, free: 1.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.1436, allocations: 91.25 kB / 0.56 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/0.1436, allocations: 79.33 kB / 0.56 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.808e-05/0.1437, allocations: 154.5 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/0.1437, allocations: 79.22 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.918e-05/0.1438, allocations: 154.5 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.1439, allocations: 87.22 kB / 0.5605 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.1439, allocations: 83.28 kB / 0.5606 GB, free: 0.8633 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.0001478/0.1441, allocations: 260.3 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.1441, allocations: 108.9 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.1442, allocations: 111.8 kB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.8e-05/0.1443, allocations: 180.2 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001158/0.1444, allocations: 188.2 kB / 0.5614 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.273e-05/0.1445, allocations: 180.3 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1447, allocations: 393.2 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.088e-05/0.1448, allocations: 108.9 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.1448, allocations: 101 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-05/0.1449, allocations: 192.1 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.145, allocations: 180.3 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.73e-05/0.1451, allocations: 180.3 kB / 0.5626 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.469e-05/0.1452, allocations: 184.2 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1453, allocations: 303.8 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1454, allocations: 194 kB / 0.5633 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.1455, allocations: 184.2 kB / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.1456, allocations: 101 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.1457, allocations: 180.3 kB / 0.5637 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.1457, allocations: 104.9 kB / 0.5638 GB, free: 13.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.1458, allocations: 79.28 kB / 0.5639 GB, free: 13.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1458, allocations: 4 kB / 0.5639 GB, free: 13.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006949/0.1465, allocations: 147.6 kB / 0.5641 GB, free: 13.05 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.001283/0.1477, allocations: 0.9778 MB / 0.565 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.605e-05/0.1478, allocations: 3.938 kB / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1478, allocations: 0 / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.1478, allocations: 0 / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1482, allocations: 463.7 kB / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.1487, allocations: 229.6 kB / 0.5657 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.149, allocations: 0.6729 MB / 0.5663 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.667e-06/0.149, allocations: 0 / 0.5663 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.149, allocations: 7.438 kB / 0.5663 GB, free: 10.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.149, allocations: 0 / 0.5663 GB, free: 10.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.1768, allocations: 4.344 MB / 0.5706 GB, free: 6.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.267, allocations: 7.922 kB / 0.5706 GB, free: 6.391 MB / 430.1 MB " [Timeout remaining time 652] (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: 11.193974290974438] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.333291624672711 8.350943859 8.206154506 Calling exit ...