Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001724/0.001724, allocations: 122.6 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.002123/0.002123, 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.461/1.461, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2259/0.2259, allocations: 46.91 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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",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.0023/0.0023, allocations: 83.86 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 66.03 MB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003107/0.1293, allocations: 1.666 MB / 0.5578 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1312, allocations: 1.221 MB / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.1313, allocations: 0 / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1315, allocations: 23.8 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1318, allocations: 87.55 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.1322, allocations: 179.1 kB / 0.5593 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1324, allocations: 79.81 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1325, allocations: 12 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.658e-05/0.1326, allocations: 31.8 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.1327, allocations: 39.83 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1327, allocations: 4 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.1329, allocations: 103.9 kB / 0.5595 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.133, allocations: 23.86 kB / 0.5596 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.133, allocations: 43.78 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1333, allocations: 143.5 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1333, allocations: 0 / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1333, allocations: 0 / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1333, allocations: 0 / 0.5597 GB, free: 1.898 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000605/0.1339, allocations: 430.6 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1339, allocations: 8.031 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.134, allocations: 38.75 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.134, allocations: 8.891 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1343, allocations: 208.1 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.1343, allocations: 4.375 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1343, allocations: 384 / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1345, allocations: 71.95 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1345, allocations: 3.938 kB / 0.5605 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1345, allocations: 8 kB / 0.5605 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1345, allocations: 0 / 0.5605 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1347, allocations: 47.89 kB / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.1352, allocations: 312.7 kB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.1353, allocations: 46.56 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.1354, allocations: 24.92 kB / 0.5609 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1354, allocations: 8 kB / 0.5609 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1354, allocations: 38.48 kB / 0.5609 GB, free: 496 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1354, allocations: 3.938 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000861/0.1363, allocations: 225.3 kB / 0.5612 GB, free: 260 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.1364, allocations: 85.05 kB / 0.5612 GB, free: 156 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1366, allocations: 156 kB / 0.5614 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.1366, allocations: 29.7 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.1367, allocations: 104 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1367, allocations: 23.8 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1368, allocations: 21.7 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1369, allocations: 322.8 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.137, allocations: 39.95 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1372, allocations: 53.69 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1374, allocations: 88.86 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1374, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003248/0.1378, allocations: 129.5 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1378, allocations: 5.875 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1378, allocations: 0 / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1378, allocations: 0 / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1379, allocations: 27.97 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1379, allocations: 0 / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.138, allocations: 12 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.138, allocations: 3.984 kB / 0.5622 GB, free: 15.11 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 (7): * Single equations (assignments): 7 * 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.0001078/0.1381, allocations: 121.8 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.1382, allocations: 11.91 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.1386, allocations: 142.6 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1386, allocations: 0 / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1386, allocations: 4 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1386, allocations: 0 / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.1392, allocations: 422.4 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1392, allocations: 0 / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.1393, allocations: 23.92 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.1393, allocations: 4 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1393, allocations: 0 / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1393, allocations: 11.92 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1393, allocations: 0 / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.1397, allocations: 219.4 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.1398, allocations: 89.06 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1398, allocations: 0 / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1399, allocations: 23.86 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1399, allocations: 11.98 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1399, allocations: 0 / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1401, allocations: 117.7 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 3.938 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003032/0.1404, allocations: 39.88 kB / 0.5634 GB, free: 13.78 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 (7): * Single equations (assignments): 7 * 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.002301/0.1427, allocations: 1.142 MB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.143, allocations: 87.92 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.143, allocations: 3.938 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1432, allocations: 43.97 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1435, allocations: 34.58 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.1458, allocations: 1.647 MB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1462, allocations: 0.7039 MB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1463, allocations: 20.72 kB / 0.567 GB, free: 10.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.1464, allocations: 31.61 kB / 0.567 GB, free: 10.11 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1464, allocations: 4 kB / 0.567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1745, allocations: 3.646 MB / 0.5706 GB, free: 6.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.33, allocations: 4 kB / 0.5706 GB, free: 6.484 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.371674648020416] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.454096638131887 8.47036516 8.334088259 Calling exit ...