Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001646/0.001646, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002105/0.002105, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.522/1.522, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.91 kB / 0.4909 GB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1281, allocations: 65.99 MB / 0.5554 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001606/0.1297, allocations: 493 kB / 0.5558 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1328, allocations: 2.05 MB / 0.5578 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-06/0.1328, allocations: 4 kB / 0.5578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.598e-06/0.1328, allocations: 0 / 0.5578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.02e-07/0.1328, allocations: 0 / 0.5578 GB, free: 3.312 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.001598/0.1344, allocations: 0.5137 MB / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.274e-05/0.1344, allocations: 0 / 0.5583 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.1344, allocations: 7.984 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-06/0.1344, allocations: 0 / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-06/0.1344, allocations: 0 / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-06/0.1344, allocations: 0 / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.1359, allocations: 0.9745 MB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.1359, allocations: 0 / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.36e-05/0.1359, allocations: 0 / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009626/0.1369, allocations: 0.799 MB / 0.5601 GB, free: 1.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1369, allocations: 0 / 0.5601 GB, free: 1.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1369, allocations: 0 / 0.5601 GB, free: 1.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1369, allocations: 4 kB / 0.5601 GB, free: 1.012 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.0004487/0.1374, allocations: 382.8 kB / 0.5604 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1374, allocations: 8.031 kB / 0.5605 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.882e-05/0.1375, allocations: 110 kB / 0.5606 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.1376, allocations: 80.22 kB / 0.5606 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1377, allocations: 239.7 kB / 0.5609 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.763e-05/0.1378, allocations: 150.9 kB / 0.561 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.1379, allocations: 154.9 kB / 0.5612 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.053e-05/0.1379, allocations: 105.1 kB / 0.5613 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.138, allocations: 75.28 kB / 0.5613 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.707e-05/0.138, allocations: 158.5 kB / 0.5615 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/0.1381, allocations: 158.5 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1382, allocations: 154.6 kB / 0.5618 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1386, allocations: 442 kB / 0.5622 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1387, allocations: 165.1 kB / 0.5624 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.1387, allocations: 84.14 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.1387, allocations: 79.28 kB / 0.5625 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.557e-05/0.1388, allocations: 121.7 kB / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1388, allocations: 0 / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.558e-05/0.1389, allocations: 25.7 kB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.139, allocations: 156.4 kB / 0.5628 GB, free: 14.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.475e-05/0.1391, allocations: 89.86 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1391, allocations: 25.7 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.1391, allocations: 84.14 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.1391, allocations: 4 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.1391, allocations: 9.719 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1393, allocations: 310.8 kB / 0.5633 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-06/0.1393, allocations: 0 / 0.5633 GB, free: 13.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.1393, allocations: 0 / 0.5633 GB, free: 13.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.1394, allocations: 79.28 kB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.535e-05/0.1394, allocations: 83.16 kB / 0.5635 GB, free: 13.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.622e-05/0.1395, allocations: 33.78 kB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.779e-05/0.1395, allocations: 91.22 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.1396, allocations: 79.27 kB / 0.5637 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.433e-05/0.1397, allocations: 154.5 kB / 0.5638 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.355e-05/0.1397, allocations: 75.28 kB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-05/0.1398, allocations: 154.5 kB / 0.564 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.1398, allocations: 79.28 kB / 0.5641 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.1399, allocations: 79.28 kB / 0.5642 GB, free: 12.57 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.0001453/0.14, allocations: 260.4 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.1401, allocations: 116.8 kB / 0.5645 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.1401, allocations: 107.9 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-05/0.1402, allocations: 180.2 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-05/0.1403, allocations: 180.3 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.918e-05/0.1404, allocations: 180.3 kB / 0.5651 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.1407, allocations: 405.2 kB / 0.5655 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.827e-05/0.1408, allocations: 108.9 kB / 0.5656 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1408, allocations: 104.9 kB / 0.5657 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.329e-05/0.1409, allocations: 188.2 kB / 0.5659 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.09e-05/0.141, allocations: 180.2 kB / 0.5661 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.541e-05/0.1411, allocations: 188.2 kB / 0.5663 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.601e-05/0.1412, allocations: 180.3 kB / 0.5664 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1414, allocations: 295.8 kB / 0.5667 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1415, allocations: 198 kB / 0.5669 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.1415, allocations: 180.2 kB / 0.5671 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.1416, allocations: 101 kB / 0.5672 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.1417, allocations: 188.2 kB / 0.5674 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.1418, allocations: 101 kB / 0.5675 GB, free: 8.977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.1418, allocations: 75.28 kB / 0.5675 GB, free: 8.902 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1418, allocations: 4 kB / 0.5675 GB, free: 8.898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006701/0.1425, allocations: 151.6 kB / 0.5677 GB, free: 8.75 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.001128/0.1436, allocations: 0.9864 MB / 0.5686 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 4.66e-05/0.1437, allocations: 0 / 0.5686 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1437, allocations: 0 / 0.5686 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1437, allocations: 32 / 0.5686 GB, free: 7.746 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.144, allocations: 461.2 kB / 0.5691 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.1445, allocations: 237.5 kB / 0.5693 GB, free: 7.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1448, allocations: 0.6729 MB / 0.57 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.698e-06/0.1448, allocations: 0 / 0.57 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.1449, allocations: 7.438 kB / 0.57 GB, free: 6.312 MB / 430.1 MB Notification: Performance of SimCode: time 5.82e-07/0.1449, allocations: 0 / 0.57 GB, free: 6.312 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02879/0.1736, allocations: 4.329 MB / 0.5742 GB, free: 2.098 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.298, allocations: 7.984 kB / 0.5742 GB, free: 2.09 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.197353173978627] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.370531138032675 8.397540667 8.255931309 Calling exit ...