Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001278/0.001278, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.001397/0.001397, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.431/1.431, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2194/0.2194, allocations: 46.88 MB / 357.4 MB, free: 10.51 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 83.86 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1252, allocations: 65.99 MB / 0.5556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001565/0.1268, allocations: 494.6 kB / 0.5561 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1297, allocations: 2.054 MB / 0.5581 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-06/0.1297, allocations: 0 / 0.5581 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.288e-06/0.1297, allocations: 0 / 0.5581 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.373e-06/0.1297, allocations: 4 kB / 0.5581 GB, free: 3.875 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.00162/0.1314, allocations: 0.5019 MB / 0.5586 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 1.796e-05/0.1314, allocations: 0 / 0.5586 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.588e-05/0.1314, allocations: 7.922 kB / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.943e-06/0.1314, allocations: 0 / 0.5586 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-06/0.1314, allocations: 4 kB / 0.5586 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.477e-06/0.1314, allocations: 0 / 0.5586 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1328, allocations: 0.9745 MB / 0.5596 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-06/0.1328, allocations: 0 / 0.5596 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.888e-06/0.1328, allocations: 0 / 0.5596 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009395/0.1338, allocations: 0.8029 MB / 0.5604 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1338, allocations: 0 / 0.5604 GB, free: 1.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1338, allocations: 7.938 kB / 0.5604 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1338, allocations: 0 / 0.5604 GB, free: 1.574 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.0004017/0.1342, allocations: 378.8 kB / 0.5607 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1342, allocations: 12.03 kB / 0.5607 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.1343, allocations: 110 kB / 0.5608 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.1344, allocations: 76.22 kB / 0.5609 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.1345, allocations: 235.7 kB / 0.5611 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.138e-05/0.1346, allocations: 150.9 kB / 0.5613 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.345e-05/0.1346, allocations: 154.9 kB / 0.5614 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.41e-05/0.1347, allocations: 105.1 kB / 0.5615 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.1347, allocations: 79.28 kB / 0.5616 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.19e-05/0.1348, allocations: 154.6 kB / 0.5618 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.1349, allocations: 158.4 kB / 0.5619 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.534e-05/0.1349, allocations: 154.5 kB / 0.5621 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.1352, allocations: 446 kB / 0.5625 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.1353, allocations: 165.1 kB / 0.5626 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.1354, allocations: 88.14 kB / 0.5627 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.1354, allocations: 79.22 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.1355, allocations: 117.8 kB / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.1355, allocations: 0 / 0.5629 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.805e-05/0.1355, allocations: 25.7 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.1356, allocations: 152.4 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.1357, allocations: 93.84 kB / 0.5632 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1357, allocations: 29.7 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.1357, allocations: 80.14 kB / 0.5633 GB, free: 14.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-06/0.1357, allocations: 0 / 0.5633 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.1358, allocations: 13.72 kB / 0.5633 GB, free: 14.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1359, allocations: 310.8 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-06/0.1359, allocations: 0 / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.776e-05/0.1359, allocations: 4 kB / 0.5636 GB, free: 14.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.1359, allocations: 79.22 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.791e-05/0.136, allocations: 75.28 kB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.405e-05/0.136, allocations: 29.7 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.1361, allocations: 92.88 kB / 0.5639 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.1361, allocations: 83.36 kB / 0.5639 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.426e-05/0.1362, allocations: 158.5 kB / 0.5641 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.969e-05/0.1362, allocations: 75.28 kB / 0.5642 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.079e-05/0.1363, allocations: 158.5 kB / 0.5643 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.586e-05/0.1363, allocations: 75.28 kB / 0.5644 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1364, allocations: 75.28 kB / 0.5645 GB, free: 13.14 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.0001516/0.1365, allocations: 268.4 kB / 0.5647 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.1366, allocations: 108.9 kB / 0.5648 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.1367, allocations: 111.9 kB / 0.5649 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.787e-05/0.1367, allocations: 184.2 kB / 0.5651 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-05/0.1368, allocations: 180.3 kB / 0.5653 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.378e-05/0.1369, allocations: 180.3 kB / 0.5654 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.1371, allocations: 405.2 kB / 0.5658 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-05/0.1372, allocations: 101 kB / 0.5659 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.672e-05/0.1372, allocations: 112.9 kB / 0.566 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.16e-05/0.1373, allocations: 180.2 kB / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.1374, allocations: 180.3 kB / 0.5664 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.414e-05/0.1375, allocations: 192.2 kB / 0.5666 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.296e-05/0.1375, allocations: 180.3 kB / 0.5667 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.1377, allocations: 299.8 kB / 0.567 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.1378, allocations: 194 kB / 0.5672 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.1378, allocations: 180.3 kB / 0.5674 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.61e-05/0.1379, allocations: 105 kB / 0.5675 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.138, allocations: 184.2 kB / 0.5676 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.1381, allocations: 101 kB / 0.5677 GB, free: 9.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.1381, allocations: 75.28 kB / 0.5678 GB, free: 9.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0 / 0.5678 GB, free: 9.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006166/0.1387, allocations: 155.6 kB / 0.568 GB, free: 9.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.001051/0.1398, allocations: 0.9782 MB / 0.5689 GB, free: 8.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.429e-05/0.1398, allocations: 4 kB / 0.5689 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1398, allocations: 0 / 0.5689 GB, free: 8.312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/0.1398, allocations: 4 kB / 0.5689 GB, free: 8.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1402, allocations: 466.4 kB / 0.5694 GB, free: 7.852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1407, allocations: 233.5 kB / 0.5696 GB, free: 7.582 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1409, allocations: 0.6729 MB / 0.5703 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.318e-06/0.141, allocations: 0 / 0.5703 GB, free: 6.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.141, allocations: 7.438 kB / 0.5703 GB, free: 6.875 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.141, allocations: 0 / 0.5703 GB, free: 6.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.1672, allocations: 4.343 MB / 0.5745 GB, free: 2.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.32, allocations: 0 / 0.5745 GB, free: 2.66 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatricesExamplesSolveLinearEquations.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.069654183927923] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.39780257595703 8.41742216 8.280007973 Calling exit ...