Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.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.001886/0.001886, allocations: 122.5 kB / 18.51 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.002246/0.002246, allocations: 215.2 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.513/1.513, allocations: 230.5 MB / 254.7 MB, free: 14.83 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.255/0.255, allocations: 46.92 MB / 357.7 MB, free: 10.18 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.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38",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.002321/0.002321, allocations: 79.88 kB / 0.4917 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.126, allocations: 66.04 MB / 0.5562 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003125/0.1292, allocations: 1.69 MB / 0.5579 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1309, allocations: 1.018 MB / 0.5589 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.131, allocations: 7.938 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1313, allocations: 63.73 kB / 0.5589 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1316, allocations: 107.6 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1318, allocations: 75.67 kB / 0.5591 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.132, allocations: 103.7 kB / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.132, allocations: 240 / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.1321, allocations: 47.78 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1322, allocations: 59.69 kB / 0.5593 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.1322, allocations: 8 kB / 0.5593 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.1323, allocations: 31.98 kB / 0.5594 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.1324, allocations: 19.94 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.1324, allocations: 31.72 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1326, allocations: 99.59 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1326, allocations: 0 / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1326, allocations: 0 / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1327, allocations: 0 / 0.5595 GB, free: 2.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005732/0.1332, allocations: 422.7 kB / 0.5599 GB, free: 1.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1333, allocations: 8.031 kB / 0.5599 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1333, allocations: 38.75 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1333, allocations: 12.84 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1336, allocations: 208.9 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1337, allocations: 384 / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.1337, allocations: 384 / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1338, allocations: 53.8 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1338, allocations: 0 / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1338, allocations: 3.938 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1338, allocations: 0 / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.1339, allocations: 19.98 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.1341, allocations: 185.6 kB / 0.5604 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1343, allocations: 50.55 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1344, allocations: 16.86 kB / 0.5605 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1344, allocations: 4 kB / 0.5605 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.1346, allocations: 83.25 kB / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.1346, allocations: 0 / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000307/0.1349, allocations: 89.62 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.1349, allocations: 55.41 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1351, allocations: 198.4 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1352, allocations: 29.64 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.1352, allocations: 100.1 kB / 0.561 GB, free: 340 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.1353, allocations: 23.89 kB / 0.561 GB, free: 316 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.1353, allocations: 17.72 kB / 0.5611 GB, free: 292 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1355, allocations: 322.8 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.1355, allocations: 15.98 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.1356, allocations: 33.64 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1357, allocations: 41.7 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1357, allocations: 4 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001792/0.1359, allocations: 89.47 kB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1359, allocations: 7.984 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1359, allocations: 0 / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1359, allocations: 0 / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.919e-05/0.136, allocations: 16 kB / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.136, allocations: 0 / 0.5616 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.136, allocations: 3.938 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.136, allocations: 4 kB / 0.5616 GB, free: 15.73 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001171/0.1362, allocations: 125.9 kB / 0.5617 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1362, allocations: 15.88 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.1362, allocations: 24.92 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1362, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1362, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1362, allocations: 0 / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.1364, allocations: 185.6 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1364, allocations: 3.938 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.1364, allocations: 8.297 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1364, allocations: 0 / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1364, allocations: 4 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1364, allocations: 7.938 kB / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1364, allocations: 0 / 0.5619 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.1366, allocations: 109.1 kB / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.1367, allocations: 85 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1367, allocations: 4 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.1368, allocations: 0 / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1368, allocations: 15.98 kB / 0.5621 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1368, allocations: 0 / 0.5621 GB, free: 15.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.137, allocations: 148.2 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.137, allocations: 0 / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1372, allocations: 20 kB / 0.5623 GB, free: 14.89 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001912/0.1391, allocations: 0.95 MB / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1393, allocations: 43.92 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1393, allocations: 0 / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.1393, allocations: 15.98 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1396, allocations: 28.27 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1413, allocations: 1.509 MB / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1417, allocations: 0.7002 MB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.1417, allocations: 8.562 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.36e-05/0.1418, allocations: 31.42 kB / 0.5655 GB, free: 11.61 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1418, allocations: 0 / 0.5655 GB, free: 11.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1673, allocations: 3.189 MB / 0.5686 GB, free: 8.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.038, allocations: 4.062 kB / 0.5686 GB, free: 8.48 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.31764909811318] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.156214324291795 8.171190296 8.035730847 Calling exit ...