Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001409/0.001409, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.002439/0.002439, allocations: 222.8 kB / 23.01 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.224/0.224, allocations: 44.24 MB / 330.3 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 74.64 kB / 467.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1224, allocations: 61.04 MB / 0.5161 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001735/0.1241, allocations: 0.5056 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1272, allocations: 2.163 MB / 0.5187 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.24e-05/0.1273, allocations: 4 kB / 0.5187 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1273, allocations: 3.938 kB / 0.5187 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.957e-06/0.1273, allocations: 0 / 0.5187 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1294, allocations: 0.7482 MB / 0.5195 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.914e-05/0.1294, allocations: 8 kB / 0.5195 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.1295, allocations: 3.984 kB / 0.5195 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1295, allocations: 3.984 kB / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.573e-05/0.1295, allocations: 0 / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-06/0.1295, allocations: 0 / 0.5195 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.1319, allocations: 1.705 MB / 0.5212 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.1319, allocations: 4 kB / 0.5212 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.1319, allocations: 4 kB / 0.5212 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1335, allocations: 1.563 MB / 0.5227 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1335, allocations: 0 / 0.5227 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1335, allocations: 0 / 0.5227 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1335, allocations: 0 / 0.5227 GB, free: 0.6172 MB / 398.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.0005326/0.134, allocations: 339.4 kB / 0.523 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1341, allocations: 8.031 kB / 0.523 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.1341, allocations: 38.75 kB / 0.5231 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.1341, allocations: 0.9375 kB / 0.5231 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.1342, allocations: 110.5 kB / 0.5232 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1342, allocations: 384 / 0.5232 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1342, allocations: 3.938 kB / 0.5232 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.1343, allocations: 29.7 kB / 0.5232 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1343, allocations: 0 / 0.5232 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1343, allocations: 0 / 0.5232 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1343, allocations: 0 / 0.5232 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.1344, allocations: 11.88 kB / 0.5232 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.1345, allocations: 116.8 kB / 0.5233 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.876e-05/0.1345, allocations: 30.55 kB / 0.5233 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.238e-05/0.1346, allocations: 4.859 kB / 0.5233 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.1346, allocations: 0 / 0.5233 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.1346, allocations: 56.27 kB / 0.5234 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1346, allocations: 0 / 0.5234 GB, free: 15.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001752/0.1348, allocations: 67.39 kB / 0.5235 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.1348, allocations: 85.23 kB / 0.5235 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/0.1349, allocations: 89.86 kB / 0.5236 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1349, allocations: 29.7 kB / 0.5237 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.1349, allocations: 80.14 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.135, allocations: 3.984 kB / 0.5237 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.135, allocations: 9.719 kB / 0.5238 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1351, allocations: 314.8 kB / 0.5241 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.1351, allocations: 0 / 0.5241 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.1351, allocations: 0 / 0.5241 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.1352, allocations: 76.25 kB / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1352, allocations: 0 / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.272e-05/0.1353, allocations: 67.28 kB / 0.5242 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.1353, allocations: 29.7 kB / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1353, allocations: 0 / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1353, allocations: 0 / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1353, allocations: 0 / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1353, allocations: 0 / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.1354, allocations: 4 kB / 0.5242 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1354, allocations: 8.016 kB / 0.5242 GB, free: 14.79 MB / 414.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.36e-05/0.1355, allocations: 135.5 kB / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.1355, allocations: 7.938 kB / 0.5244 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-06/0.1355, allocations: 6.984 kB / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.1355, allocations: 0 / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.1355, allocations: 0 / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1355, allocations: 0 / 0.5244 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.556e-05/0.1356, allocations: 120.7 kB / 0.5245 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.1356, allocations: 8 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.1356, allocations: 4 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1356, allocations: 3.938 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1356, allocations: 0 / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1356, allocations: 0 / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1356, allocations: 0 / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1357, allocations: 98.7 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-06/0.1357, allocations: 0 / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1357, allocations: 0 / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.1357, allocations: 8.031 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.1357, allocations: 0 / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1357, allocations: 0 / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.1358, allocations: 75.28 kB / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1358, allocations: 0 / 0.5247 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007448/0.1365, allocations: 275.6 kB / 0.5249 GB, free: 13.98 MB / 414.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.0015/0.138, allocations: 0.9436 MB / 0.5259 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1381, allocations: 55.41 kB / 0.5259 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1381, allocations: 0 / 0.5259 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.834e-05/0.1382, allocations: 59.41 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.1383, allocations: 0 / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.1387, allocations: 170 kB / 0.5261 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.139, allocations: 0.6729 MB / 0.5268 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.981e-06/0.139, allocations: 4.125 kB / 0.5268 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.139, allocations: 7.438 kB / 0.5268 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.139, allocations: 0 / 0.5268 GB, free: 11.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.1749, allocations: 8.356 MB / 0.535 GB, free: 3.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.9, allocations: 0 / 0.535 GB, free: 3.59 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.1473084140016] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.011095339999883 11.27511681 11.138209146 Calling exit ...