Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.00175/0.00175, allocations: 117.4 kB / 18.45 MB, free: 4.613 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.00224/0.00224, allocations: 210.5 kB / 21.41 MB, free: 1.66 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.472/1.472, allocations: 227.4 MB / 251.7 MB, free: 80 kB / 190.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.2442/0.2442, allocations: 46.15 MB / 351.1 MB, free: 14.3 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.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",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.002346/0.002346, allocations: 81.06 kB / 489.8 MB, free: 28.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 62.44 MB / 0.5393 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003985/0.1264, allocations: 1.754 MB / 0.541 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1283, allocations: 1.022 MB / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1285, allocations: 0 / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.129, allocations: 107.6 kB / 0.5421 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003997/0.1294, allocations: 131.5 kB / 0.5422 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1297, allocations: 83.66 kB / 0.5423 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.1299, allocations: 123.7 kB / 0.5424 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1301, allocations: 16.25 kB / 0.5424 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.1302, allocations: 59.77 kB / 0.5425 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.1304, allocations: 63.81 kB / 0.5425 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1304, allocations: 7.938 kB / 0.5425 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1306, allocations: 63.91 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.1307, allocations: 23.92 kB / 0.5426 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.1308, allocations: 43.67 kB / 0.5427 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1311, allocations: 151.3 kB / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1311, allocations: 0 / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1311, allocations: 0 / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.1311, allocations: 0 / 0.5428 GB, free: 1.027 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006752/0.1318, allocations: 462.3 kB / 0.5433 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1318, allocations: 12.03 kB / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1319, allocations: 30.75 kB / 0.5433 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.1319, allocations: 16.84 kB / 0.5433 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.1323, allocations: 223.8 kB / 0.5435 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1323, allocations: 4.375 kB / 0.5435 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1323, allocations: 8.328 kB / 0.5435 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1325, allocations: 61.78 kB / 0.5436 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1325, allocations: 4 kB / 0.5436 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1325, allocations: 8 kB / 0.5436 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1325, allocations: 0 / 0.5436 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1326, allocations: 23.92 kB / 0.5436 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.1331, allocations: 300.8 kB / 0.5439 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1333, allocations: 62.55 kB / 0.544 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.1334, allocations: 28.97 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1334, allocations: 3.938 kB / 0.544 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.1336, allocations: 67.39 kB / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.1336, allocations: 0 / 0.5441 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007756/0.1344, allocations: 253.5 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1344, allocations: 55.41 kB / 0.5444 GB, free: 15.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1347, allocations: 255.1 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1347, allocations: 29.69 kB / 0.5446 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1348, allocations: 112.1 kB / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1349, allocations: 35.77 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.1349, allocations: 29.7 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1351, allocations: 326.8 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1352, allocations: 27.98 kB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/0.1353, allocations: 57.27 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1354, allocations: 85.64 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1354, allocations: 0 / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002307/0.1357, allocations: 133.5 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1357, allocations: 4 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1357, allocations: 0 / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1357, allocations: 4 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1358, allocations: 24.02 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1358, allocations: 0 / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1359, allocations: 7.938 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1359, allocations: 8 kB / 0.5455 GB, free: 14.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001131/0.136, allocations: 133.8 kB / 0.5456 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.136, allocations: 15.91 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.1361, allocations: 21.39 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1361, allocations: 4 kB / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1361, allocations: 0 / 0.5456 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1361, allocations: 7.938 kB / 0.5456 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.1367, allocations: 452 kB / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1367, allocations: 0 / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1367, allocations: 19.92 kB / 0.5461 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1367, allocations: 3.984 kB / 0.5461 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1368, allocations: 8 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1368, allocations: 0 / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1368, allocations: 4.062 kB / 0.5461 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1371, allocations: 233 kB / 0.5463 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.1371, allocations: 96.94 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1372, allocations: 8 kB / 0.5464 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1372, allocations: 0 / 0.5464 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1373, allocations: 11.98 kB / 0.5464 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1373, allocations: 4 kB / 0.5464 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1375, allocations: 192.5 kB / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1375, allocations: 0 / 0.5466 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1378, allocations: 31.92 kB / 0.5466 GB, free: 12.73 MB / 414.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002366/0.1401, allocations: 1.182 MB / 0.5478 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1404, allocations: 79.84 kB / 0.5479 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1404, allocations: 0 / 0.5479 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/0.1405, allocations: 43.92 kB / 0.5479 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1408, allocations: 33.83 kB / 0.548 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1431, allocations: 1.887 MB / 0.5498 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1434, allocations: 0.7235 MB / 0.5505 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.1435, allocations: 20.62 kB / 0.5505 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.1436, allocations: 47.42 kB / 0.5506 GB, free: 8.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1436, allocations: 0 / 0.5506 GB, free: 8.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.1692, allocations: 4.038 MB / 0.5545 GB, free: 4.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/7.967, allocations: 11.19 kB / 0.5545 GB, free: 4.832 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.189755318919197] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.091881642001681 8.116258627 7.981006244 Calling exit ...