Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001896/0.001896, allocations: 127.5 kB / 17.79 MB, free: 5.215 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.002386/0.002386, allocations: 210.6 kB / 20.75 MB, free: 2.262 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.464/1.464, allocations: 230.5 MB / 254 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.92 MB / 357 MB, free: 10.22 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002488, allocations: 83.88 kB / 0.491 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1228, allocations: 66.05 MB / 0.5555 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001729/0.1246, allocations: 489 kB / 0.5559 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.1278, allocations: 2.052 MB / 0.5579 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-06/0.1278, allocations: 4 kB / 0.5579 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.787e-06/0.1278, allocations: 0 / 0.5579 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.1278, allocations: 0 / 0.5579 GB, free: 3.035 MB / 414.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.001583/0.1293, allocations: 0.5188 MB / 0.5584 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.915e-05/0.1294, allocations: 0 / 0.5584 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.1294, allocations: 4 kB / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-06/0.1294, allocations: 0 / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.079e-05/0.1294, allocations: 0 / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-06/0.1294, allocations: 0 / 0.5584 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1308, allocations: 0.9745 MB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.1308, allocations: 0 / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.27e-05/0.1308, allocations: 3.984 kB / 0.5594 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1318, allocations: 0.799 MB / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1318, allocations: 0 / 0.5602 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1318, allocations: 8 kB / 0.5602 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.1319, allocations: 3.938 kB / 0.5602 GB, free: 0.7227 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.0004451/0.1323, allocations: 374.8 kB / 0.5605 GB, free: 316 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1323, allocations: 12.03 kB / 0.5606 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.762e-05/0.1324, allocations: 110 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.752e-05/0.1325, allocations: 80.22 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.1326, allocations: 239.7 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-05/0.1327, allocations: 154.9 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.1328, allocations: 150.9 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.72e-05/0.1329, allocations: 105.1 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.1329, allocations: 75.28 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.991e-05/0.133, allocations: 158.5 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.907e-05/0.133, allocations: 154.5 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.1331, allocations: 154.6 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.1334, allocations: 442 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.532e-05/0.1335, allocations: 165.1 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.1336, allocations: 88.12 kB / 0.5625 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1336, allocations: 79.28 kB / 0.5626 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/0.1337, allocations: 117.7 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.1337, allocations: 0 / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.386e-05/0.1338, allocations: 29.7 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.1339, allocations: 152.4 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.1339, allocations: 89.86 kB / 0.563 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1339, allocations: 29.7 kB / 0.563 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.1339, allocations: 84.14 kB / 0.5631 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1339, allocations: 0 / 0.5631 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.134, allocations: 9.719 kB / 0.5631 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1342, allocations: 310.8 kB / 0.5634 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-06/0.1342, allocations: 0 / 0.5634 GB, free: 13.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.968e-05/0.1342, allocations: 4 kB / 0.5634 GB, free: 13.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.1342, allocations: 83.2 kB / 0.5635 GB, free: 13.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-05/0.1343, allocations: 75.33 kB / 0.5636 GB, free: 13.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.756e-05/0.1343, allocations: 37.73 kB / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.1344, allocations: 87.22 kB / 0.5637 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.1344, allocations: 75.28 kB / 0.5637 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.662e-05/0.1345, allocations: 154.5 kB / 0.5639 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.132e-05/0.1345, allocations: 75.28 kB / 0.564 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.506e-05/0.1346, allocations: 162.4 kB / 0.5641 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.807e-05/0.1346, allocations: 79.28 kB / 0.5642 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.1347, allocations: 79.27 kB / 0.5643 GB, free: 12.28 MB / 430.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.0001361/0.1348, allocations: 264.4 kB / 0.5645 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.1349, allocations: 108.9 kB / 0.5646 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.1349, allocations: 107.9 kB / 0.5647 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.803e-05/0.135, allocations: 180.2 kB / 0.5649 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.051e-05/0.1351, allocations: 188.2 kB / 0.5651 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.753e-05/0.1352, allocations: 176.3 kB / 0.5652 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.1354, allocations: 401.2 kB / 0.5656 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/0.1355, allocations: 104.9 kB / 0.5657 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.1355, allocations: 112.9 kB / 0.5658 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.423e-05/0.1356, allocations: 184.2 kB / 0.566 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.1357, allocations: 180.3 kB / 0.5662 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.494e-05/0.1358, allocations: 184.2 kB / 0.5664 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-05/0.1359, allocations: 184.3 kB / 0.5665 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.136, allocations: 307.8 kB / 0.5668 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.319e-05/0.1361, allocations: 186 kB / 0.567 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-05/0.1362, allocations: 180.2 kB / 0.5672 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.1363, allocations: 105 kB / 0.5673 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.1364, allocations: 184.2 kB / 0.5675 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.1364, allocations: 105 kB / 0.5676 GB, free: 8.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.1365, allocations: 79.28 kB / 0.5676 GB, free: 8.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1365, allocations: 0 / 0.5676 GB, free: 8.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.1372, allocations: 151.6 kB / 0.5678 GB, free: 8.465 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.001135/0.1383, allocations: 0.9806 MB / 0.5687 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.828e-05/0.1384, allocations: 0 / 0.5687 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1384, allocations: 0 / 0.5687 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.1384, allocations: 0 / 0.5687 GB, free: 7.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1387, allocations: 459.7 kB / 0.5692 GB, free: 7.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.1392, allocations: 237.5 kB / 0.5694 GB, free: 6.734 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1395, allocations: 0.669 MB / 0.5701 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.117e-06/0.1395, allocations: 4 kB / 0.5701 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.1395, allocations: 7.438 kB / 0.5701 GB, free: 6.027 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1395, allocations: 0 / 0.5701 GB, free: 6.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.1666, allocations: 4.323 MB / 0.5743 GB, free: 1.805 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.228, allocations: 7.844 kB / 0.5743 GB, free: 1.797 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.23610691097565] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.300269562983885 8.325416878 8.189189729 Calling exit ...