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.001292/0.001292, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001362/0.001362, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.448/1.448, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2304/0.2304, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.002212/0.002212, allocations: 80.27 kB / 0.4912 GB, free: 26.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1183, allocations: 65.98 MB / 0.5557 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001495/0.1198, allocations: 493 kB / 0.5561 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.1228, allocations: 2.068 MB / 0.5582 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-06/0.1228, allocations: 0 / 0.5582 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.437e-06/0.1228, allocations: 0 / 0.5582 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-07/0.1228, allocations: 4 kB / 0.5582 GB, free: 6.531 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.001501/0.1243, allocations: 0.5037 MB / 0.5586 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.852e-05/0.1243, allocations: 3.938 kB / 0.5587 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.1243, allocations: 4 kB / 0.5587 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-06/0.1243, allocations: 0 / 0.5587 GB, free: 6.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-06/0.1243, allocations: 4 kB / 0.5587 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-06/0.1243, allocations: 0 / 0.5587 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1257, allocations: 0.9745 MB / 0.5596 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.1257, allocations: 3.984 kB / 0.5596 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.427e-05/0.1257, allocations: 0 / 0.5596 GB, free: 5.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.1267, allocations: 0.7992 MB / 0.5604 GB, free: 4.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.1267, allocations: 0 / 0.5604 GB, free: 4.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1267, allocations: 0 / 0.5604 GB, free: 4.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1267, allocations: 0 / 0.5604 GB, free: 4.238 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.000406/0.1271, allocations: 386.8 kB / 0.5608 GB, free: 3.812 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1271, allocations: 8.031 kB / 0.5608 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.906e-05/0.1272, allocations: 110 kB / 0.5609 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.1273, allocations: 76.22 kB / 0.5609 GB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1274, allocations: 239.7 kB / 0.5612 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.1275, allocations: 154.9 kB / 0.5613 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.1276, allocations: 154.9 kB / 0.5615 GB, free: 3.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.1276, allocations: 109.1 kB / 0.5616 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.1277, allocations: 75.28 kB / 0.5616 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.1277, allocations: 150.6 kB / 0.5618 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.027e-05/0.1278, allocations: 154.5 kB / 0.5619 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.1279, allocations: 154.5 kB / 0.5621 GB, free: 2.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.1282, allocations: 450 kB / 0.5625 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1283, allocations: 165.1 kB / 0.5627 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.1283, allocations: 80.14 kB / 0.5627 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.1284, allocations: 75.28 kB / 0.5628 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.705e-05/0.1284, allocations: 113.8 kB / 0.5629 GB, free: 1.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1284, allocations: 7.875 kB / 0.5629 GB, free: 1.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 6.687e-05/0.1285, allocations: 29.7 kB / 0.563 GB, free: 1.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/0.1286, allocations: 160.4 kB / 0.5631 GB, free: 1.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.204e-05/0.1286, allocations: 89.86 kB / 0.5632 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1286, allocations: 25.7 kB / 0.5632 GB, free: 1.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.1287, allocations: 84.16 kB / 0.5633 GB, free: 1.023 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.1287, allocations: 0 / 0.5633 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.1287, allocations: 17.72 kB / 0.5633 GB, free: 1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1288, allocations: 310.8 kB / 0.5636 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-06/0.1288, allocations: 0 / 0.5636 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.1289, allocations: 4 kB / 0.5636 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.1289, allocations: 75.28 kB / 0.5637 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.794e-05/0.1289, allocations: 75.28 kB / 0.5638 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.418e-05/0.129, allocations: 33.64 kB / 0.5638 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.129, allocations: 83.22 kB / 0.5639 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/0.1291, allocations: 83.36 kB / 0.564 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.417e-05/0.1291, allocations: 166.5 kB / 0.5641 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.641e-05/0.1292, allocations: 75.28 kB / 0.5642 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.131e-05/0.1292, allocations: 150.6 kB / 0.5643 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.1293, allocations: 79.22 kB / 0.5644 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1294, allocations: 79.28 kB / 0.5645 GB, free: 15.79 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.0001362/0.1295, allocations: 268.3 kB / 0.5647 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.1296, allocations: 112.9 kB / 0.5648 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.089e-05/0.1296, allocations: 115.9 kB / 0.565 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.1297, allocations: 176.3 kB / 0.5651 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.936e-05/0.1298, allocations: 180.2 kB / 0.5653 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.328e-05/0.1299, allocations: 180.3 kB / 0.5655 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.1302, allocations: 409.2 kB / 0.5659 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.495e-05/0.1302, allocations: 101 kB / 0.566 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.1303, allocations: 101 kB / 0.5661 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.888e-05/0.1304, allocations: 184.1 kB / 0.5662 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/0.1304, allocations: 184.3 kB / 0.5664 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-05/0.1305, allocations: 188.2 kB / 0.5666 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-05/0.1306, allocations: 176.3 kB / 0.5668 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.1308, allocations: 303.8 kB / 0.567 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.53e-05/0.1309, allocations: 186 kB / 0.5672 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.131, allocations: 196.1 kB / 0.5674 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.131, allocations: 101 kB / 0.5675 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.1311, allocations: 180.2 kB / 0.5677 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.497e-05/0.1312, allocations: 101 kB / 0.5678 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.733e-05/0.1312, allocations: 79.28 kB / 0.5678 GB, free: 12.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1312, allocations: 0 / 0.5678 GB, free: 12.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005969/0.1318, allocations: 155.6 kB / 0.568 GB, free: 11.97 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.00101/0.1328, allocations: 0.9797 MB / 0.569 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.843e-05/0.1329, allocations: 7.984 kB / 0.569 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1329, allocations: 0 / 0.569 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.1329, allocations: 0 / 0.569 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1333, allocations: 455.7 kB / 0.5694 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.1337, allocations: 229.6 kB / 0.5696 GB, free: 10.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.134, allocations: 0.6729 MB / 0.5703 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.027e-06/0.134, allocations: 0 / 0.5703 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.134, allocations: 7.438 kB / 0.5703 GB, free: 9.535 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.134, allocations: 0 / 0.5703 GB, free: 9.535 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1595, allocations: 4.329 MB / 0.5745 GB, free: 5.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.385, allocations: 1.875 kB / 0.5745 GB, free: 5.305 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.214121374767274] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.45536660309881 8.481130015 8.350366308 Calling exit ...