Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001882/0.001882, 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.002152/0.002152, 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.03 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.2408/0.2408, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test12",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.002329/0.002329, allocations: 87.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1295, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003137/0.1326, allocations: 1.597 MB / 0.5577 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1336, allocations: 0.541 MB / 0.5583 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.1337, allocations: 4 kB / 0.5583 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.134, allocations: 31.83 kB / 0.5583 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.1342, allocations: 83.62 kB / 0.5584 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1345, allocations: 87.02 kB / 0.5585 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1347, allocations: 67.77 kB / 0.5585 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1348, allocations: 4 kB / 0.5585 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.1349, allocations: 31.91 kB / 0.5586 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.1349, allocations: 23.8 kB / 0.5586 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1349, allocations: 4 kB / 0.5586 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.582e-05/0.135, allocations: 31.98 kB / 0.5586 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.1351, allocations: 11.94 kB / 0.5586 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.1351, allocations: 31.78 kB / 0.5587 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1353, allocations: 83.61 kB / 0.5587 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1353, allocations: 0 / 0.5587 GB, free: 2.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1353, allocations: 0 / 0.5587 GB, free: 2.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1353, allocations: 0 / 0.5587 GB, free: 2.906 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.0005736/0.1359, allocations: 398.9 kB / 0.5591 GB, free: 2.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.136, allocations: 12.03 kB / 0.5591 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.136, allocations: 34.73 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.136, allocations: 12.84 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1363, allocations: 192.8 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1363, allocations: 8.312 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1363, allocations: 4.375 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1365, allocations: 53.61 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1365, allocations: 0 / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1365, allocations: 4 kB / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1365, allocations: 0 / 0.5594 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1366, allocations: 23.92 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004479/0.1371, allocations: 272.9 kB / 0.5597 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1373, allocations: 42.66 kB / 0.5598 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.1374, allocations: 20.84 kB / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.1374, allocations: 0 / 0.5598 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1374, allocations: 34.5 kB / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1374, allocations: 0 / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006183/0.138, allocations: 149.7 kB / 0.5599 GB, free: 1.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1381, allocations: 55.34 kB / 0.56 GB, free: 1.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.1383, allocations: 178.4 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1383, allocations: 25.7 kB / 0.5602 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.1384, allocations: 104.1 kB / 0.5603 GB, free: 1.094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1384, allocations: 11.91 kB / 0.5603 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.1384, allocations: 17.72 kB / 0.5603 GB, free: 1.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1386, allocations: 326.8 kB / 0.5606 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.1387, allocations: 15.98 kB / 0.5607 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.194e-05/0.1387, allocations: 23.98 kB / 0.5607 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1389, allocations: 44.83 kB / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1389, allocations: 0 / 0.5607 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.1391, allocations: 81.83 kB / 0.5608 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1391, allocations: 4 kB / 0.5608 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1391, allocations: 7.922 kB / 0.5608 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1391, allocations: 11.97 kB / 0.5608 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.1392, allocations: 20 kB / 0.5608 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1392, allocations: 0 / 0.5608 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1392, allocations: 7.984 kB / 0.5608 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.1392, allocations: 3.938 kB / 0.5608 GB, free: 0.5039 MB / 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.175e-05/0.1393, allocations: 117.8 kB / 0.561 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1394, allocations: 7.953 kB / 0.561 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1396, allocations: 97.89 kB / 0.5611 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1396, allocations: 4 kB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1396, allocations: 3.938 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1396, allocations: 0 / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.1401, allocations: 354.5 kB / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1401, allocations: 0 / 0.5614 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1401, allocations: 8 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1401, allocations: 0 / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1401, allocations: 4 kB / 0.5614 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1402, allocations: 7.938 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1402, allocations: 3.984 kB / 0.5614 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1404, allocations: 175.4 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1405, allocations: 85.02 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.1405, allocations: 4 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1405, allocations: 7.922 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.1406, allocations: 8 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1406, allocations: 192 / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1407, allocations: 143.9 kB / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1407, allocations: 0 / 0.5618 GB, free: 15.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1409, allocations: 19.94 kB / 0.5619 GB, free: 15.37 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.001943/0.1429, allocations: 1.01 MB / 0.5628 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1431, allocations: 47.95 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1431, allocations: 0 / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.1432, allocations: 27.92 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1435, allocations: 19.92 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1453, allocations: 1.496 MB / 0.5644 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1456, allocations: 0.6963 MB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.139e-05/0.1456, allocations: 12.05 kB / 0.5651 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.1457, allocations: 23.44 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1457, allocations: 4 kB / 0.5651 GB, free: 12.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.1695, allocations: 2.677 MB / 0.5677 GB, free: 9.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.125, allocations: 12.05 kB / 0.5677 GB, free: 9.418 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12_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_CombiTable1Ds_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.27066519483924] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.243944302201271 8.258377743 8.120220565 Calling exit ...