Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.001682/0.001682, allocations: 120 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.002042/0.002042, allocations: 213.6 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.518/1.518, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.2224/0.2224, allocations: 46.92 MB / 357.7 MB, free: 10.24 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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",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.00226/0.00226, allocations: 79.86 kB / 0.4918 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1326, allocations: 66.04 MB / 0.5563 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003302/0.1359, allocations: 1.754 MB / 0.558 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1376, allocations: 1.028 MB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.1377, allocations: 3.938 kB / 0.559 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.138, allocations: 55.73 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1383, allocations: 103.5 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.1385, allocations: 75.73 kB / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1387, allocations: 135.6 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.1388, allocations: 11.98 kB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1389, allocations: 59.75 kB / 0.5594 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.612e-05/0.139, allocations: 47.78 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1391, allocations: 11.98 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1392, allocations: 59.97 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.1393, allocations: 27.86 kB / 0.5595 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.1393, allocations: 55.59 kB / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1396, allocations: 147.4 kB / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1396, allocations: 0 / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1396, allocations: 0 / 0.5597 GB, free: 1.922 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1396, allocations: 0 / 0.5597 GB, free: 1.922 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006384/0.1402, allocations: 438.5 kB / 0.5602 GB, free: 1.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1403, allocations: 12.03 kB / 0.5602 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/0.1403, allocations: 42.67 kB / 0.5602 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.1404, allocations: 12.84 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1408, allocations: 236 kB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1408, allocations: 12.38 kB / 0.5605 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1408, allocations: 4.375 kB / 0.5605 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.141, allocations: 77.72 kB / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.141, allocations: 0 / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.141, allocations: 0 / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.141, allocations: 4 kB / 0.5605 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1411, allocations: 39.97 kB / 0.5606 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.1416, allocations: 316.8 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003297/0.1419, allocations: 86.56 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.142, allocations: 29 kB / 0.561 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1421, allocations: 7.984 kB / 0.561 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.1422, allocations: 79.38 kB / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.1423, allocations: 0 / 0.5611 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00102/0.1433, allocations: 309.6 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.1433, allocations: 55.41 kB / 0.5614 GB, free: 4 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.1436, allocations: 198 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1436, allocations: 29.7 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.1437, allocations: 104.4 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.1438, allocations: 47.64 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.1439, allocations: 25.72 kB / 0.5618 GB, free: 15.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.144, allocations: 334.8 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.1441, allocations: 35.98 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1442, allocations: 58.98 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1444, allocations: 97.08 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1444, allocations: 4 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003257/0.1448, allocations: 165.5 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.1448, allocations: 8 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1448, allocations: 3.938 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1448, allocations: 0 / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.1449, allocations: 23.98 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.1449, allocations: 4 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.145, allocations: 7.938 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.145, allocations: 4 kB / 0.5625 GB, free: 14.83 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 (15): * Single equations (assignments): 15 * 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.0001497/0.1452, allocations: 133.8 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.1452, allocations: 15.91 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.335e-05/0.1453, allocations: 21.53 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.1453, allocations: 4 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1453, allocations: 3.984 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1453, allocations: 3.938 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.146, allocations: 480.1 kB / 0.5631 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.146, allocations: 0 / 0.5631 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.146, allocations: 31.92 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.146, allocations: 0 / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1461, allocations: 8 kB / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1461, allocations: 0 / 0.5632 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1461, allocations: 3.938 kB / 0.5632 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1464, allocations: 245.1 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.1465, allocations: 101 kB / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1465, allocations: 7.984 kB / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.1466, allocations: 8 kB / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1466, allocations: 8.266 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1467, allocations: 4 kB / 0.5635 GB, free: 13.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1468, allocations: 152.3 kB / 0.5637 GB, free: 13.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1468, allocations: 3.938 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1471, allocations: 31.94 kB / 0.5637 GB, free: 13.47 MB / 430.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 (13): * Single equations (assignments): 11 * 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.002608/0.1497, allocations: 1.203 MB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.15, allocations: 91.89 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.15, allocations: 4.062 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1501, allocations: 43.92 kB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.1505, allocations: 31.97 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.1531, allocations: 1.871 MB / 0.5669 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.1535, allocations: 0.7162 MB / 0.5676 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.1536, allocations: 29.34 kB / 0.5676 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1537, allocations: 47.42 kB / 0.5677 GB, free: 9.469 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1537, allocations: 0 / 0.5677 GB, free: 9.469 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.1804, allocations: 4.087 MB / 0.5717 GB, free: 5.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.304, allocations: 6.047 kB / 0.5717 GB, free: 5.449 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.65104069095105] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 't_new.y[3]', 'd_t_new.y', 'd2_t_new.y'] 8.426359460223466 8.454368543 8.309721695 Calling exit ...