Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.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.001393/0.001393, allocations: 120.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.001592/0.001592, allocations: 205 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.48/1.48, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.231/0.231, allocations: 46.93 MB / 357.7 MB, free: 10.19 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.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test26",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.002322/0.002322, allocations: 87.86 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1329, allocations: 66.03 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003135/0.136, allocations: 1.693 MB / 0.5578 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1371, allocations: 0.5839 MB / 0.5584 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.1372, allocations: 0 / 0.5584 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.1374, allocations: 63.72 kB / 0.5585 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.1377, allocations: 91.64 kB / 0.5586 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.1381, allocations: 182.8 kB / 0.5587 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.1383, allocations: 87.75 kB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.1384, allocations: 20.16 kB / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.1385, allocations: 31.92 kB / 0.5589 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1386, allocations: 51.75 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1386, allocations: 4 kB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1387, allocations: 51.98 kB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.1388, allocations: 31.91 kB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.907e-05/0.1388, allocations: 35.73 kB / 0.559 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1391, allocations: 127.4 kB / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1391, allocations: 0 / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1391, allocations: 0 / 0.5592 GB, free: 2.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1391, allocations: 3.938 kB / 0.5592 GB, free: 2.469 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.0005562/0.1396, allocations: 422.7 kB / 0.5596 GB, free: 2.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1397, allocations: 8.031 kB / 0.5596 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.1397, allocations: 38.75 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1397, allocations: 16.84 kB / 0.5596 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.14, allocations: 208.8 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.14, allocations: 4.375 kB / 0.5598 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.14, allocations: 4.375 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1402, allocations: 62.23 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1402, allocations: 7.891 kB / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1402, allocations: 0 / 0.5599 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1402, allocations: 7.984 kB / 0.5599 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1404, allocations: 51.89 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.1409, allocations: 320.8 kB / 0.5603 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1411, allocations: 62.48 kB / 0.5603 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.1412, allocations: 29 kB / 0.5603 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1412, allocations: 8 kB / 0.5604 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1412, allocations: 30.56 kB / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1413, allocations: 0 / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001551/0.1428, allocations: 429.3 kB / 0.5608 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1428, allocations: 59.41 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.143, allocations: 201.4 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1431, allocations: 25.7 kB / 0.5611 GB, free: 316 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.1431, allocations: 104.1 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1432, allocations: 47.62 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1432, allocations: 21.72 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1434, allocations: 326.8 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.1435, allocations: 55.95 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.1437, allocations: 59.95 kB / 0.5617 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.144, allocations: 128.7 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.144, allocations: 0 / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003682/0.1443, allocations: 161.6 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1444, allocations: 5.562 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1444, allocations: 0 / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1444, allocations: 3.984 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1445, allocations: 27.92 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1445, allocations: 11.88 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.507e-05/0.1446, allocations: 7.984 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1446, allocations: 8 kB / 0.562 GB, free: 15.33 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.0001142/0.1448, allocations: 137.8 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.1448, allocations: 11.91 kB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.1453, allocations: 179 kB / 0.5623 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1453, allocations: 4 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1453, allocations: 7.922 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1453, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008008/0.1461, allocations: 0.4922 MB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1461, allocations: 7.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1462, allocations: 35.91 kB / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1462, allocations: 0 / 0.5628 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.1462, allocations: 8.062 kB / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1462, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1462, allocations: 0 / 0.5628 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.1466, allocations: 277 kB / 0.5631 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1467, allocations: 96.98 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1467, allocations: 8 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.1468, allocations: 8.172 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.1469, allocations: 8 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1469, allocations: 8 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.147, allocations: 152.9 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.147, allocations: 0 / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.1474, allocations: 31.92 kB / 0.5634 GB, free: 13.75 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.00243/0.1498, allocations: 1.162 MB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.1502, allocations: 127.8 kB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1502, allocations: 8 kB / 0.5647 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.1504, allocations: 63.89 kB / 0.5647 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.1508, allocations: 12 kB / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/0.1537, allocations: 1.924 MB / 0.5666 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.1541, allocations: 0.7197 MB / 0.5673 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.967e-05/0.1542, allocations: 24.53 kB / 0.5673 GB, free: 9.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1543, allocations: 39.42 kB / 0.5674 GB, free: 9.699 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1543, allocations: 0 / 0.5674 GB, free: 9.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1801, allocations: 3.559 MB / 0.5709 GB, free: 6.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.21, allocations: 3.406 kB / 0.5709 GB, free: 6.203 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26_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_CombiTable2Dv_Test26.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.321777634322643] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock1.y', 'clock2.y'] 8.330551794264466 8.353068781 8.209810938 Calling exit ...