Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001536/0.001536, allocations: 116.8 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.002176/0.002176, allocations: 212.9 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.442/1.442, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2234/0.2234, 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30",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.002344/0.002344, allocations: 83.88 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1285, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003556/0.1321, allocations: 1.625 MB / 0.5578 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1332, allocations: 0.5567 MB / 0.5583 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.1333, allocations: 0 / 0.5583 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1336, allocations: 71.77 kB / 0.5584 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1339, allocations: 107.6 kB / 0.5585 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1342, allocations: 118.7 kB / 0.5586 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.1344, allocations: 87.75 kB / 0.5587 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.1345, allocations: 12 kB / 0.5587 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.1345, allocations: 43.83 kB / 0.5587 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1347, allocations: 63.8 kB / 0.5588 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1347, allocations: 0 / 0.5588 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1348, allocations: 47.98 kB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.1349, allocations: 19.92 kB / 0.5589 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.1349, allocations: 35.67 kB / 0.5589 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1351, allocations: 107.6 kB / 0.559 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1351, allocations: 0 / 0.559 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1351, allocations: 0 / 0.559 GB, free: 2.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1351, allocations: 0 / 0.559 GB, free: 2.672 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.0005962/0.1357, allocations: 418.7 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1358, allocations: 12.03 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.1358, allocations: 34.75 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1359, allocations: 16.83 kB / 0.5595 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1361, allocations: 204.8 kB / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1361, allocations: 384 / 0.5597 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1362, allocations: 8.359 kB / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1363, allocations: 50.25 kB / 0.5597 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1363, allocations: 11.94 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1363, allocations: 0 / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1363, allocations: 3.984 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1364, allocations: 31.95 kB / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.1369, allocations: 304.8 kB / 0.56 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.137, allocations: 38.56 kB / 0.5601 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1371, allocations: 24.94 kB / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1371, allocations: 0 / 0.5601 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.1371, allocations: 30.56 kB / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1371, allocations: 0 / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000922/0.1381, allocations: 237.2 kB / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.1381, allocations: 59.34 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.1383, allocations: 218.3 kB / 0.5606 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1384, allocations: 29.7 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1385, allocations: 104 kB / 0.5608 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.1385, allocations: 35.8 kB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.1385, allocations: 21.72 kB / 0.5608 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1387, allocations: 330.8 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-05/0.1388, allocations: 31.97 kB / 0.5612 GB, free: 236 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.1389, allocations: 27.98 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.139, allocations: 72.81 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.139, allocations: 3.938 kB / 0.5613 GB, free: 128 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002351/0.1393, allocations: 109.6 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1393, allocations: 13.97 kB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1393, allocations: 0 / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1393, allocations: 0 / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1394, allocations: 15.98 kB / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1394, allocations: 0 / 0.5614 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.1395, allocations: 11.98 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1395, allocations: 7.938 kB / 0.5614 GB, free: 15.96 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.0001062/0.1396, allocations: 129.8 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/0.1396, allocations: 15.91 kB / 0.5615 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.14, allocations: 139.3 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.14, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.14, allocations: 0 / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.14, allocations: 3.984 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.1406, allocations: 423.2 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1406, allocations: 0 / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.1406, allocations: 23.98 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1406, allocations: 0 / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1406, allocations: 7.938 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1406, allocations: 0 / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1406, allocations: 0 / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.1409, allocations: 216.3 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.141, allocations: 89.02 kB / 0.5624 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.141, allocations: 7.922 kB / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.193e-05/0.1411, allocations: 4.422 kB / 0.5624 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1411, allocations: 11.98 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1411, allocations: 4 kB / 0.5624 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1413, allocations: 163.2 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1413, allocations: 0 / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1415, allocations: 27.94 kB / 0.5626 GB, free: 14.61 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.002134/0.1437, allocations: 1.093 MB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1439, allocations: 67.95 kB / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1439, allocations: 0 / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.144, allocations: 39.97 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1444, allocations: 19.98 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.1464, allocations: 1.731 MB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1468, allocations: 0.7159 MB / 0.5662 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.1469, allocations: 20.59 kB / 0.5662 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.1469, allocations: 31.42 kB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1469, allocations: 0 / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.1711, allocations: 3.19 MB / 0.5694 GB, free: 7.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.152, allocations: 11.98 kB / 0.5694 GB, free: 7.781 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.20428234897554] 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.276293416973203 8.298898489 8.16061301 Calling exit ...