Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001704/0.001704, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.002052/0.002052, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.5/1.5, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2362/0.2362, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7",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.002359/0.002359, allocations: 87.84 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1355, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003041/0.1386, allocations: 1.597 MB / 0.5577 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1396, allocations: 0.545 MB / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.1397, allocations: 0 / 0.5583 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1399, allocations: 27.78 kB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1402, allocations: 79.67 kB / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1404, allocations: 106.9 kB / 0.5585 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1406, allocations: 71.77 kB / 0.5585 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1407, allocations: 8 kB / 0.5586 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.1408, allocations: 31.91 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.1408, allocations: 19.86 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1408, allocations: 4 kB / 0.5586 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.1409, allocations: 31.94 kB / 0.5586 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.141, allocations: 15.92 kB / 0.5587 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.141, allocations: 27.8 kB / 0.5587 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1412, allocations: 87.59 kB / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1412, allocations: 0 / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1412, allocations: 0 / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1412, allocations: 0 / 0.5588 GB, free: 2.895 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005093/0.1417, allocations: 391 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1417, allocations: 8.031 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.1418, allocations: 30.75 kB / 0.5592 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1418, allocations: 12.89 kB / 0.5592 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.142, allocations: 204.1 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.142, allocations: 4.375 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.142, allocations: 4.312 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1422, allocations: 46.25 kB / 0.5594 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1422, allocations: 3.938 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1422, allocations: 4 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1422, allocations: 0 / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1423, allocations: 27.97 kB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1427, allocations: 288.8 kB / 0.5597 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.1429, allocations: 42.55 kB / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.143, allocations: 20.95 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.143, allocations: 7.969 kB / 0.5598 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.143, allocations: 30.56 kB / 0.5598 GB, free: 1.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.143, allocations: 0 / 0.5598 GB, free: 1.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005871/0.1436, allocations: 157.3 kB / 0.56 GB, free: 1.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1437, allocations: 55.41 kB / 0.56 GB, free: 1.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.1438, allocations: 161.8 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1438, allocations: 29.7 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.1439, allocations: 92.14 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1439, allocations: 23.78 kB / 0.5603 GB, free: 1.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.144, allocations: 17.72 kB / 0.5604 GB, free: 1.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1441, allocations: 326.8 kB / 0.5607 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.1442, allocations: 23.92 kB / 0.5607 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1442, allocations: 23.98 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1444, allocations: 52.83 kB / 0.5608 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1444, allocations: 0 / 0.5608 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001949/0.1446, allocations: 81.61 kB / 0.5608 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1446, allocations: 5.562 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1446, allocations: 0 / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1446, allocations: 8 kB / 0.5609 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.1447, allocations: 11.98 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1447, allocations: 3.938 kB / 0.5609 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.1447, allocations: 8.25 kB / 0.5609 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1447, allocations: 7.938 kB / 0.5609 GB, free: 500 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.191e-05/0.1448, allocations: 121.8 kB / 0.561 GB, free: 368 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.1449, allocations: 7.953 kB / 0.561 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.1451, allocations: 102 kB / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1451, allocations: 0 / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1451, allocations: 0 / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1451, allocations: 0 / 0.5611 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.1456, allocations: 362.4 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1456, allocations: 0 / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.1457, allocations: 11.98 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1457, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1457, allocations: 7.938 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.1457, allocations: 7.938 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1457, allocations: 0 / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.146, allocations: 187.4 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.146, allocations: 81.06 kB / 0.5617 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.146, allocations: 0 / 0.5617 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.1461, allocations: 11.92 kB / 0.5617 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1461, allocations: 11.94 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1461, allocations: 0 / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1463, allocations: 129.9 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1463, allocations: 0 / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1465, allocations: 15.95 kB / 0.5619 GB, free: 15.34 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 (5): * Single equations (assignments): 5 * 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.001952/0.1484, allocations: 1.016 MB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1487, allocations: 51.95 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1487, allocations: 0 / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.1488, allocations: 27.98 kB / 0.563 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1491, allocations: 18.2 kB / 0.563 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1509, allocations: 1.495 MB / 0.5644 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1513, allocations: 0.7002 MB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.1513, allocations: 16.02 kB / 0.5651 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.1514, allocations: 23.42 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1514, allocations: 4 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1753, allocations: 2.648 MB / 0.5678 GB, free: 9.402 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.235, allocations: 16.98 kB / 0.5678 GB, free: 9.395 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.349367908202112] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.359344454947859 8.383874329 8.238367539 Calling exit ...