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.001534/0.001534, allocations: 117 kB / 18.49 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.001653/0.001653, allocations: 216.7 kB / 21.46 MB, free: 1.613 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.405/1.405, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2212/0.2212, allocations: 46.92 MB / 357.7 MB, free: 10.17 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 71.88 kB / 0.4916 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1335, allocations: 66.05 MB / 0.5561 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001678/0.1352, allocations: 494 kB / 0.5566 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.1387, allocations: 2.046 MB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-06/0.1387, allocations: 0 / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.4e-06/0.1387, allocations: 0 / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.443e-06/0.1387, allocations: 4 kB / 0.5586 GB, free: 2.957 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.001651/0.1403, allocations: 0.5164 MB / 0.5591 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.692e-05/0.1403, allocations: 0 / 0.5591 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.249e-05/0.1404, allocations: 3.984 kB / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.005e-05/0.1404, allocations: 0 / 0.5591 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.071e-05/0.1404, allocations: 4 kB / 0.5591 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-06/0.1404, allocations: 0 / 0.5591 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.1418, allocations: 0.9706 MB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.1418, allocations: 4 kB / 0.5601 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.582e-05/0.1418, allocations: 0 / 0.5601 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009495/0.1428, allocations: 0.8067 MB / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1428, allocations: 0 / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1428, allocations: 0 / 0.5609 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1428, allocations: 0 / 0.5609 GB, free: 0.6523 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.0004539/0.1433, allocations: 378.8 kB / 0.5612 GB, free: 240 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1433, allocations: 12.03 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.287e-05/0.1433, allocations: 79.45 kB / 0.5613 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/0.1434, allocations: 106 kB / 0.5614 GB, free: 32 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.1435, allocations: 80.22 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1436, allocations: 239.7 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.1437, allocations: 154.9 kB / 0.5619 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.1438, allocations: 154.9 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.923e-05/0.1439, allocations: 112.8 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.1439, allocations: 79.22 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.144, allocations: 154.6 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-05/0.1441, allocations: 150.6 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.305e-05/0.1442, allocations: 154.6 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1445, allocations: 438 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1446, allocations: 181.1 kB / 0.5632 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.1446, allocations: 84.14 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1447, allocations: 79.22 kB / 0.5634 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.1447, allocations: 105.8 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1447, allocations: 0 / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.875e-05/0.1448, allocations: 33.69 kB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1449, allocations: 156.4 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.145, allocations: 89.86 kB / 0.5637 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.145, allocations: 25.7 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.145, allocations: 80.14 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.145, allocations: 3.938 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.145, allocations: 13.72 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1452, allocations: 314.8 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-06/0.1452, allocations: 3.938 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.1453, allocations: 4 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.1453, allocations: 75.28 kB / 0.5642 GB, free: 12.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.382e-05/0.1453, allocations: 75.28 kB / 0.5643 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.744e-05/0.1454, allocations: 37.69 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.1455, allocations: 85.45 kB / 0.5644 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/0.1455, allocations: 79.22 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.485e-05/0.1456, allocations: 154.6 kB / 0.5647 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.222e-05/0.1456, allocations: 83.31 kB / 0.5647 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.491e-05/0.1457, allocations: 154.5 kB / 0.5649 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.1458, allocations: 75.28 kB / 0.565 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.1458, allocations: 87.22 kB / 0.565 GB, free: 12.12 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.000145/0.1459, allocations: 256.4 kB / 0.5653 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.146, allocations: 112.9 kB / 0.5654 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.1461, allocations: 111.9 kB / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-05/0.1461, allocations: 180.2 kB / 0.5657 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.299e-05/0.1462, allocations: 180.3 kB / 0.5658 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-05/0.1463, allocations: 180.2 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1466, allocations: 405.2 kB / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.146e-05/0.1466, allocations: 105 kB / 0.5665 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.1467, allocations: 108.9 kB / 0.5666 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.289e-05/0.1468, allocations: 176.3 kB / 0.5668 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-05/0.1468, allocations: 192.2 kB / 0.567 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-05/0.1469, allocations: 180.3 kB / 0.5671 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.147, allocations: 184.2 kB / 0.5673 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1472, allocations: 303.8 kB / 0.5676 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.1473, allocations: 186 kB / 0.5678 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.1474, allocations: 180.3 kB / 0.5679 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1475, allocations: 104.9 kB / 0.568 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1476, allocations: 180.3 kB / 0.5682 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.1476, allocations: 105 kB / 0.5683 GB, free: 8.539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.1477, allocations: 75.28 kB / 0.5684 GB, free: 8.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1477, allocations: 0 / 0.5684 GB, free: 8.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.1483, allocations: 151.6 kB / 0.5685 GB, free: 8.316 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.001119/0.1494, allocations: 0.9791 MB / 0.5695 GB, free: 7.312 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.31e-05/0.1494, allocations: 8.016 kB / 0.5695 GB, free: 7.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1494, allocations: 4 kB / 0.5695 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.1494, allocations: 0 / 0.5695 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1498, allocations: 459.6 kB / 0.5699 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.1502, allocations: 229.5 kB / 0.5702 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1505, allocations: 0.6729 MB / 0.5708 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.714e-06/0.1506, allocations: 0 / 0.5708 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.1506, allocations: 11.44 kB / 0.5708 GB, free: 5.871 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1506, allocations: 0 / 0.5708 GB, free: 5.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1716, allocations: 4.365 MB / 0.5751 GB, free: 1.625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.128, allocations: 7.016 kB / 0.5751 GB, free: 1.621 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: 10.965816371026449] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.252039728977252 8.269202913 8.123233626 Calling exit ...