Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.002019/0.002019, allocations: 122 kB / 18.45 MB, free: 4.59 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.00273/0.002731, allocations: 211.3 kB / 21.41 MB, free: 1.641 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.592/1.592, allocations: 227.4 MB / 251.7 MB, free: 288 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.2329/0.2329, allocations: 46.14 MB / 351.1 MB, free: 14.38 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",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.002233/0.002233, allocations: 84.06 kB / 489.7 MB, free: 28.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1349, allocations: 62.46 MB / 0.5393 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003221/0.1381, allocations: 1.708 MB / 0.5409 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1399, allocations: 1.034 MB / 0.5419 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.14, allocations: 0 / 0.5419 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1404, allocations: 39.78 kB / 0.542 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.1407, allocations: 87.59 kB / 0.5421 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.1409, allocations: 79.67 kB / 0.5421 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1411, allocations: 103.7 kB / 0.5422 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1412, allocations: 20.22 kB / 0.5423 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.1413, allocations: 39.84 kB / 0.5423 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.1414, allocations: 39.72 kB / 0.5423 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1414, allocations: 4 kB / 0.5423 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.1415, allocations: 43.98 kB / 0.5424 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1416, allocations: 15.92 kB / 0.5424 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1416, allocations: 31.8 kB / 0.5424 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1419, allocations: 107.5 kB / 0.5425 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1419, allocations: 8 kB / 0.5425 GB, free: 1.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1419, allocations: 3.938 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1419, allocations: 0 / 0.5425 GB, free: 1.355 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006031/0.1425, allocations: 422.6 kB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1426, allocations: 12.03 kB / 0.543 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.1426, allocations: 34.75 kB / 0.543 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1427, allocations: 8.891 kB / 0.543 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.1429, allocations: 204.2 kB / 0.5432 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.143, allocations: 384 / 0.5432 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.143, allocations: 12.38 kB / 0.5432 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.1432, allocations: 53.8 kB / 0.5433 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1432, allocations: 4 kB / 0.5433 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1432, allocations: 4 kB / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1432, allocations: 0 / 0.5433 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.1433, allocations: 23.92 kB / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1437, allocations: 284.8 kB / 0.5436 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1438, allocations: 58.67 kB / 0.5436 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.1439, allocations: 24.84 kB / 0.5436 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1439, allocations: 3.938 kB / 0.5436 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.1441, allocations: 63.39 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1441, allocations: 0 / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.1447, allocations: 185.3 kB / 0.5439 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.1448, allocations: 51.41 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.145, allocations: 166.2 kB / 0.5441 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.145, allocations: 25.7 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.1451, allocations: 104.1 kB / 0.5442 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1451, allocations: 19.86 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.1452, allocations: 29.7 kB / 0.5443 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1453, allocations: 330.8 kB / 0.5446 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.318e-05/0.1454, allocations: 12 kB / 0.5446 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.1455, allocations: 37.7 kB / 0.5446 GB, free: 14.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1456, allocations: 61.64 kB / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1456, allocations: 0 / 0.5447 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.1458, allocations: 109.6 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1458, allocations: 8.031 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1459, allocations: 3.984 kB / 0.5448 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1459, allocations: 4 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.146, allocations: 16.19 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.146, allocations: 0 / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.932e-05/0.1461, allocations: 7.938 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1461, allocations: 0 / 0.5448 GB, free: 14.77 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 (10): * Single equations (assignments): 10 * 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.0001402/0.1462, allocations: 129.8 kB / 0.5449 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.1463, allocations: 7.953 kB / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.1463, allocations: 24.69 kB / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1463, allocations: 4 kB / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1463, allocations: 0 / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1464, allocations: 0 / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.1469, allocations: 391.5 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1469, allocations: 0 / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.1469, allocations: 19.94 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1469, allocations: 4 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1469, allocations: 8.016 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1469, allocations: 3.938 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.147, allocations: 0 / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1472, allocations: 200.3 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.1473, allocations: 89.02 kB / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.1473, allocations: 0 / 0.5457 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1474, allocations: 7.938 kB / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1474, allocations: 19.86 kB / 0.5457 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.1475, allocations: 8 kB / 0.5457 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1476, allocations: 128.1 kB / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1476, allocations: 0 / 0.5458 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1479, allocations: 23.98 kB / 0.5458 GB, free: 13.62 MB / 414.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: 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 (8): * Single equations (assignments): 6 * 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.002147/0.15, allocations: 1.077 MB / 0.5469 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1502, allocations: 71.83 kB / 0.547 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1502, allocations: 0 / 0.547 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.1503, allocations: 36.06 kB / 0.547 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.1507, allocations: 26.33 kB / 0.547 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.1525, allocations: 1.602 MB / 0.5486 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1529, allocations: 0.7041 MB / 0.5493 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1529, allocations: 12.88 kB / 0.5493 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.153, allocations: 35.42 kB / 0.5493 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.153, allocations: 0 / 0.5493 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.1766, allocations: 3.353 MB / 0.5526 GB, free: 6.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/7.879, allocations: 4.359 kB / 0.5526 GB, free: 6.836 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.1733045859728] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 7.998507512034848 8.012333524 7.867804707 Calling exit ...