Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001637/0.001637, allocations: 117.9 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.001861/0.001861, allocations: 214.5 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.509/1.509, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2282/0.2282, 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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",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.002266/0.002266, allocations: 79.86 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1325, allocations: 66.03 MB / 0.5562 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003107/0.1356, allocations: 1.692 MB / 0.5578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1366, allocations: 0.5527 MB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.1366, allocations: 4 kB / 0.5584 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.1369, allocations: 47.8 kB / 0.5584 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.1372, allocations: 95.59 kB / 0.5585 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.1375, allocations: 135.1 kB / 0.5586 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1376, allocations: 75.81 kB / 0.5587 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1378, allocations: 20.16 kB / 0.5587 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.1378, allocations: 35.89 kB / 0.5588 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.1379, allocations: 43.78 kB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1379, allocations: 4 kB / 0.5588 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.138, allocations: 59.91 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.1381, allocations: 23.92 kB / 0.5589 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.1382, allocations: 27.8 kB / 0.5589 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1384, allocations: 119.4 kB / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1384, allocations: 0 / 0.559 GB, free: 2.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1384, allocations: 3.938 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1384, allocations: 0 / 0.559 GB, free: 2.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005831/0.1389, allocations: 418.7 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.139, allocations: 12.03 kB / 0.5595 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.72e-05/0.139, allocations: 42.67 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1391, allocations: 12.89 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1393, allocations: 200.2 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.1393, allocations: 384 / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.1394, allocations: 8.328 kB / 0.5597 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.1396, allocations: 62.23 kB / 0.5598 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1396, allocations: 11.88 kB / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1396, allocations: 0 / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1396, allocations: 0 / 0.5598 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1397, allocations: 43.95 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.1402, allocations: 300.8 kB / 0.5601 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.1405, allocations: 62.56 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.1406, allocations: 24.97 kB / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1406, allocations: 3.938 kB / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1406, allocations: 34.56 kB / 0.5602 GB, free: 1.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1406, allocations: 0 / 0.5602 GB, free: 1.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001554/0.1422, allocations: 397.4 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1422, allocations: 59.34 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1424, allocations: 190.1 kB / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1424, allocations: 29.7 kB / 0.5609 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.1425, allocations: 96.14 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.1425, allocations: 35.69 kB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.1426, allocations: 25.7 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1427, allocations: 326.8 kB / 0.5613 GB, free: 12 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1429, allocations: 39.97 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.143, allocations: 52.03 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1433, allocations: 100.7 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1433, allocations: 0 / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003377/0.1436, allocations: 145.5 kB / 0.5617 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1436, allocations: 7.938 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1436, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1437, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1438, allocations: 31.92 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1438, allocations: 7.922 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.566e-05/0.1439, allocations: 4 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1439, allocations: 4 kB / 0.5617 GB, free: 15.62 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 (11): * Single equations (assignments): 11 * 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.0001328/0.144, allocations: 129.8 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.144, allocations: 11.91 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/0.1445, allocations: 170.1 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1445, allocations: 4 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1445, allocations: 3.938 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1445, allocations: 0 / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.1451, allocations: 472 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1451, allocations: 3.938 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1453, allocations: 31.97 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1453, allocations: 192 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1453, allocations: 8 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1453, allocations: 64 / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1453, allocations: 8 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.1457, allocations: 257 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.1457, allocations: 89 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1457, allocations: 4 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1458, allocations: 15.98 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1459, allocations: 7.984 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1459, allocations: 4 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.146, allocations: 144 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.146, allocations: 0 / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1463, allocations: 24 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002313/0.1486, allocations: 1.144 MB / 0.5642 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.1489, allocations: 107.8 kB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1489, allocations: 0 / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1491, allocations: 59.91 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.1495, allocations: 15.98 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.1518, allocations: 1.797 MB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1522, allocations: 0.7042 MB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.1522, allocations: 24.34 kB / 0.5668 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.1523, allocations: 35.42 kB / 0.5668 GB, free: 10.28 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1523, allocations: 0 / 0.5668 GB, free: 10.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.1768, allocations: 3.362 MB / 0.5701 GB, free: 6.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.184, allocations: 0 / 0.5701 GB, free: 6.98 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.31191882584244] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.303203197196126 8.317431453 8.176304657 Calling exit ...