Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001616/0.001616, 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.001957/0.001957, 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.517/1.517, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2298/0.2298, allocations: 46.92 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.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27",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.002713/0.002713, allocations: 83.84 kB / 0.4917 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1447, allocations: 66.04 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003095/0.1478, allocations: 1.622 MB / 0.5578 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1489, allocations: 0.5449 MB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.243e-05/0.1489, allocations: 0 / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1493, allocations: 123.6 kB / 0.5584 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1496, allocations: 131.5 kB / 0.5585 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1498, allocations: 90.77 kB / 0.5586 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.15, allocations: 103.7 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.1501, allocations: 15.98 kB / 0.5587 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.1502, allocations: 47.83 kB / 0.5588 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.1503, allocations: 95.69 kB / 0.5589 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1504, allocations: 4 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.461e-05/0.1504, allocations: 43.98 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.1505, allocations: 23.92 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.1506, allocations: 43.61 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1508, allocations: 131.4 kB / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1508, allocations: 0 / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1508, allocations: 0 / 0.5591 GB, free: 2.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.1508, allocations: 0 / 0.5591 GB, free: 2.531 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.0005328/0.1513, allocations: 442.5 kB / 0.5595 GB, free: 2.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1513, allocations: 8.031 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.1514, allocations: 38.73 kB / 0.5596 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1514, allocations: 16.84 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1517, allocations: 215.8 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1517, allocations: 4.375 kB / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1517, allocations: 384 / 0.5598 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1518, allocations: 58.23 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1518, allocations: 7.922 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1518, allocations: 0 / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1518, allocations: 0 / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/0.1519, allocations: 27.92 kB / 0.5599 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1524, allocations: 304.8 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1525, allocations: 38.56 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.1526, allocations: 20.88 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1526, allocations: 3.938 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1526, allocations: 34.56 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.1526, allocations: 0 / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009086/0.1535, allocations: 241.2 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1536, allocations: 55.41 kB / 0.5606 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1539, allocations: 275.8 kB / 0.5608 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1539, allocations: 29.7 kB / 0.5609 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.154, allocations: 116.1 kB / 0.561 GB, free: 424 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.154, allocations: 27.73 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.1541, allocations: 21.72 kB / 0.561 GB, free: 368 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1542, allocations: 330.8 kB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.681e-05/0.1543, allocations: 27.98 kB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.1544, allocations: 19.98 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1546, allocations: 68.77 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1546, allocations: 0 / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/0.1548, allocations: 105.6 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1548, allocations: 7.984 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1548, allocations: 0 / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1548, allocations: 4 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1549, allocations: 15.98 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1549, allocations: 0 / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.155, allocations: 4 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.155, allocations: 15.88 kB / 0.5616 GB, free: 15.75 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 (8): * Single equations (assignments): 8 * 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.0001136/0.1551, allocations: 133.8 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.1551, allocations: 15.91 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.1554, allocations: 127.3 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1554, allocations: 0 / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1554, allocations: 0 / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1554, allocations: 0 / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005867/0.156, allocations: 427.2 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.156, allocations: 0 / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.1561, allocations: 23.86 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1561, allocations: 0 / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.1561, allocations: 7.938 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1561, allocations: 0 / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1561, allocations: 0 / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.1564, allocations: 212.3 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1564, allocations: 85.02 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1565, allocations: 7.938 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1565, allocations: 7.984 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1566, allocations: 8 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.1566, allocations: 4 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1568, allocations: 213.4 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1568, allocations: 0 / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.157, allocations: 23.94 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002173/0.1592, allocations: 1.085 MB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1594, allocations: 75.81 kB / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1594, allocations: 0 / 0.564 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.1595, allocations: 35.92 kB / 0.564 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.16, allocations: 19.77 kB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1622, allocations: 1.802 MB / 0.5658 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1626, allocations: 0.7197 MB / 0.5665 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.1626, allocations: 12.66 kB / 0.5665 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.1627, allocations: 43.41 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1627, allocations: 4 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.1883, allocations: 3.421 MB / 0.5699 GB, free: 7.238 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.268, allocations: 16.05 kB / 0.5699 GB, free: 7.223 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.436992348637432] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.392471770755947 8.421212848 8.264756855 Calling exit ...