Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001852/0.001852, 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.002138/0.002138, 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.432/1.432, 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.2236/0.2236, allocations: 46.93 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test34",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.002274/0.002274, allocations: 79.88 kB / 0.4917 GB, free: 7.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1186, allocations: 66.05 MB / 0.5562 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002977/0.1216, allocations: 1.61 MB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1226, allocations: 0.5527 MB / 0.5583 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.1227, allocations: 0 / 0.5583 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1229, allocations: 75.77 kB / 0.5584 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.1232, allocations: 107.6 kB / 0.5585 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1235, allocations: 94.81 kB / 0.5586 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1237, allocations: 83.75 kB / 0.5586 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.844e-05/0.1238, allocations: 15.97 kB / 0.5587 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1238, allocations: 43.84 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1239, allocations: 59.81 kB / 0.5588 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.124, allocations: 4 kB / 0.5588 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.1241, allocations: 43.98 kB / 0.5588 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.1241, allocations: 23.91 kB / 0.5588 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.1242, allocations: 39.67 kB / 0.5589 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1243, allocations: 99.58 kB / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1243, allocations: 0 / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1244, allocations: 0 / 0.559 GB, free: 2.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1244, allocations: 0 / 0.559 GB, free: 2.664 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.0005027/0.1249, allocations: 418.7 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1249, allocations: 16.03 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.1249, allocations: 34.75 kB / 0.5594 GB, free: 2.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.125, allocations: 12.84 kB / 0.5594 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1252, allocations: 212.7 kB / 0.5596 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1252, allocations: 4.375 kB / 0.5596 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1252, allocations: 4.375 kB / 0.5596 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1253, allocations: 50.23 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1254, allocations: 7.938 kB / 0.5597 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1254, allocations: 4 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1254, allocations: 4 kB / 0.5597 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.707e-05/0.1255, allocations: 23.98 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.1258, allocations: 292.8 kB / 0.56 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1259, allocations: 42.56 kB / 0.56 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.126, allocations: 12.86 kB / 0.56 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.126, allocations: 4 kB / 0.5601 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.126, allocations: 34.64 kB / 0.5601 GB, free: 1.332 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.126, allocations: 0 / 0.5601 GB, free: 1.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008894/0.1269, allocations: 225.3 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.127, allocations: 59.34 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1272, allocations: 222.2 kB / 0.5606 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1272, allocations: 25.7 kB / 0.5606 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.1273, allocations: 112 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.1273, allocations: 27.73 kB / 0.5607 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.1274, allocations: 21.72 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1275, allocations: 330.8 kB / 0.5611 GB, free: 284 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.1276, allocations: 23.98 kB / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1277, allocations: 23.98 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.1278, allocations: 64.83 kB / 0.5612 GB, free: 168 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1278, allocations: 0 / 0.5612 GB, free: 168 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002236/0.1281, allocations: 101.5 kB / 0.5613 GB, free: 60 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1281, allocations: 8 kB / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1281, allocations: 0 / 0.5613 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1281, allocations: 4 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.973e-05/0.1282, allocations: 15.98 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1282, allocations: 4 kB / 0.5613 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.1282, allocations: 4 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1282, allocations: 11.92 kB / 0.5613 GB, free: 12 kB / 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 (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.0001086/0.1284, allocations: 117.8 kB / 0.5614 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1284, allocations: 15.91 kB / 0.5614 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.1287, allocations: 127.3 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1287, allocations: 432 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1287, allocations: 4 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1287, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.1292, allocations: 411.2 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1292, allocations: 3.984 kB / 0.562 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.1293, allocations: 20.02 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1293, allocations: 0 / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1293, allocations: 15.92 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1293, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1293, allocations: 0 / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.1296, allocations: 200.3 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.1297, allocations: 93.02 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1297, allocations: 3.938 kB / 0.5623 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1298, allocations: 8 kB / 0.5623 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1298, allocations: 7.984 kB / 0.5623 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.1298, allocations: 4 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1299, allocations: 164.2 kB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1299, allocations: 0 / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1302, allocations: 23.94 kB / 0.5625 GB, free: 14.7 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.002161/0.1324, allocations: 1.089 MB / 0.5635 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.1326, allocations: 59.95 kB / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1326, allocations: 0 / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.1327, allocations: 31.92 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.133, allocations: 19.98 kB / 0.5636 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.135, allocations: 1.685 MB / 0.5653 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1354, allocations: 0.708 MB / 0.566 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.1354, allocations: 12.67 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.1355, allocations: 35.36 kB / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1355, allocations: 0 / 0.566 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.1596, allocations: 3.138 MB / 0.5691 GB, free: 8.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.283, allocations: 10.73 kB / 0.5691 GB, free: 8.008 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34_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_CombiTable1Ds_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.303878359962255] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock.y'] 8.402325903996825 8.418822886 8.291164967 Calling exit ...