Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.001765/0.001765, allocations: 120 kB / 18.5 MB, free: 4.52 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.002093/0.002093, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.437/1.437, 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 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.2245/0.2245, allocations: 46.93 MB / 357.7 MB, free: 10.18 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",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.002334/0.002334, allocations: 83.84 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1271, allocations: 66.04 MB / 0.5561 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001639/0.1287, allocations: 0.4906 MB / 0.5566 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.1319, allocations: 2.159 MB / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.1319, allocations: 0 / 0.5587 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1319, allocations: 4 kB / 0.5587 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.463e-06/0.1319, allocations: 0 / 0.5587 GB, free: 2.875 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.1338, allocations: 0.7191 MB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.691e-05/0.1339, allocations: 0 / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.618e-05/0.1339, allocations: 3.984 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.134, allocations: 4 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.857e-05/0.134, allocations: 3.984 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-06/0.134, allocations: 4 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.136, allocations: 1.576 MB / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.1361, allocations: 0 / 0.561 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1361, allocations: 4 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.1377, allocations: 1.555 MB / 0.5625 GB, free: 15.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1377, allocations: 7.938 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1377, allocations: 0 / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1377, allocations: 4 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006304/0.1383, allocations: 416.5 kB / 0.5629 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1383, allocations: 8.031 kB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1384, allocations: 34.75 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1384, allocations: 4.922 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1385, allocations: 168.4 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.1385, allocations: 384 / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.1385, allocations: 384 / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.1386, allocations: 29.83 kB / 0.5632 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1386, allocations: 11.94 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.1386, allocations: 0 / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1386, allocations: 0 / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.1387, allocations: 3.938 kB / 0.5632 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1388, allocations: 145.7 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.1389, allocations: 22.61 kB / 0.5633 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.1389, allocations: 8.859 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.1389, allocations: 4 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/0.1389, allocations: 64.27 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1389, allocations: 0 / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001701/0.1391, allocations: 67.28 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1392, allocations: 85.11 kB / 0.5635 GB, free: 13.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.507e-05/0.1392, allocations: 89.86 kB / 0.5636 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1392, allocations: 25.7 kB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1393, allocations: 80.14 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.1393, allocations: 4.125 kB / 0.5637 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.1393, allocations: 13.72 kB / 0.5638 GB, free: 13.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1395, allocations: 310.8 kB / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.1395, allocations: 0 / 0.564 GB, free: 13.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.1395, allocations: 3.984 kB / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/0.1395, allocations: 64.27 kB / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1395, allocations: 0 / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.974e-05/0.1396, allocations: 67.41 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1396, allocations: 33.64 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1396, allocations: 3.984 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1397, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1397, allocations: 4 kB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1397, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.1397, allocations: 0 / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1397, allocations: 0 / 0.5642 GB, free: 12.98 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.435e-05/0.1398, allocations: 135.5 kB / 0.5643 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/0.1398, allocations: 11.91 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.947e-06/0.1398, allocations: 7.125 kB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.1398, allocations: 0 / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1398, allocations: 0 / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1398, allocations: 0 / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1399, allocations: 153.6 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1399, allocations: 0 / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-06/0.1399, allocations: 4 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1399, allocations: 3.938 kB / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.1399, allocations: 0 / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1399, allocations: 0 / 0.5645 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1399, allocations: 4 kB / 0.5645 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.14, allocations: 98.75 kB / 0.5646 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.1401, allocations: 81.05 kB / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1401, allocations: 4 kB / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1401, allocations: 0 / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-06/0.1401, allocations: 0 / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1401, allocations: 3.984 kB / 0.5647 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.1401, allocations: 79.31 kB / 0.5648 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1401, allocations: 0 / 0.5648 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008034/0.141, allocations: 275.5 kB / 0.565 GB, free: 12.03 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001591/0.1425, allocations: 0.9315 MB / 0.5659 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.139e-05/0.1426, allocations: 59.41 kB / 0.566 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1426, allocations: 0 / 0.566 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.443e-05/0.1427, allocations: 55.41 kB / 0.5661 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.1428, allocations: 9.75 kB / 0.5661 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.1433, allocations: 162.3 kB / 0.5662 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1436, allocations: 0.6729 MB / 0.5669 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.53e-06/0.1436, allocations: 0 / 0.5669 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.1436, allocations: 11.44 kB / 0.5669 GB, free: 10.02 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1436, allocations: 3.938 kB / 0.5669 GB, free: 10.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.178, allocations: 8.23 MB / 0.5749 GB, free: 1.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.364/8.542, allocations: 17.94 kB / 0.5749 GB, free: 1.828 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.504280569963157] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.615400502923876 8.638908068 8.497018191 Calling exit ...