Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001282/0.001282, allocations: 117.9 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.001308/0.001308, allocations: 214.5 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.439/1.439, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2543/0.2543, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.002232/0.002232, allocations: 83.86 kB / 0.4918 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1305, allocations: 66.04 MB / 0.5562 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003241/0.1337, allocations: 1.733 MB / 0.5579 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1363, allocations: 1.64 MB / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.1363, allocations: 0 / 0.5595 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1366, allocations: 35.77 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.137, allocations: 111.5 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.1372, allocations: 75.67 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1374, allocations: 111.7 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1375, allocations: 15.98 kB / 0.5599 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.1376, allocations: 51.72 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1378, allocations: 47.83 kB / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.1378, allocations: 4 kB / 0.56 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.138, allocations: 111.9 kB / 0.5601 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.1381, allocations: 27.84 kB / 0.5601 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.1382, allocations: 35.81 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1385, allocations: 183.4 kB / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1385, allocations: 0 / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1385, allocations: 3.938 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1385, allocations: 0 / 0.5603 GB, free: 1.309 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.000682/0.1392, allocations: 446.4 kB / 0.5607 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1392, allocations: 12.03 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.1393, allocations: 30.75 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1393, allocations: 8.891 kB / 0.5608 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.1397, allocations: 224.2 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1397, allocations: 4.312 kB / 0.561 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1397, allocations: 4.375 kB / 0.561 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.14, allocations: 87.42 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.14, allocations: 3.953 kB / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.14, allocations: 0 / 0.5611 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.14, allocations: 4 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.278e-05/0.1401, allocations: 27.98 kB / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.1405, allocations: 300.8 kB / 0.5614 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1407, allocations: 66.61 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.1408, allocations: 20.84 kB / 0.5615 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.1408, allocations: 4 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.141, allocations: 83.38 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.141, allocations: 0 / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006339/0.1416, allocations: 193.3 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.1417, allocations: 81.11 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1419, allocations: 162.2 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.1419, allocations: 29.7 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.142, allocations: 100.1 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.142, allocations: 35.86 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1421, allocations: 25.72 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1423, allocations: 326.8 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.1423, allocations: 31.92 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/0.1424, allocations: 42.56 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1426, allocations: 69.83 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1426, allocations: 3.938 kB / 0.5626 GB, free: 14.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002249/0.1428, allocations: 117.5 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1428, allocations: 4 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1428, allocations: 3.938 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1428, allocations: 4 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.1429, allocations: 19.94 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1429, allocations: 4 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.143, allocations: 3.984 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.143, allocations: 4.031 kB / 0.5628 GB, free: 14.51 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 (11): * Single equations (assignments): 11 * 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.0001256/0.1431, allocations: 137.7 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1432, allocations: 7.953 kB / 0.5629 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.1432, allocations: 16.7 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1432, allocations: 8 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1432, allocations: 0 / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1432, allocations: 0 / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.1438, allocations: 427.2 kB / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1438, allocations: 0 / 0.5634 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.1438, allocations: 15.92 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1438, allocations: 0 / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1438, allocations: 4 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1438, allocations: 3.938 kB / 0.5634 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1438, allocations: 0 / 0.5634 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.1441, allocations: 216.3 kB / 0.5636 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.1442, allocations: 89.05 kB / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1442, allocations: 0 / 0.5637 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1443, allocations: 7.938 kB / 0.5637 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.1444, allocations: 11.98 kB / 0.5637 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1444, allocations: 4 kB / 0.5637 GB, free: 13.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1445, allocations: 132.1 kB / 0.5638 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1445, allocations: 0 / 0.5638 GB, free: 13.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003381/0.1448, allocations: 52.05 kB / 0.5639 GB, free: 13.29 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: 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 (9): * Single equations (assignments): 7 * 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.1474, allocations: 1.2 MB / 0.565 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.1477, allocations: 63.86 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1477, allocations: 0 / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.1478, allocations: 31.92 kB / 0.5651 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1481, allocations: 27.97 kB / 0.5652 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1503, allocations: 1.657 MB / 0.5668 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.1508, allocations: 0.7045 MB / 0.5675 GB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.1509, allocations: 24.56 kB / 0.5675 GB, free: 9.629 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.151, allocations: 43.41 kB / 0.5675 GB, free: 9.586 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.151, allocations: 3.938 kB / 0.5675 GB, free: 9.582 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/0.1818, allocations: 4.217 MB / 0.5717 GB, free: 5.395 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.187, allocations: 5.375 kB / 0.5717 GB, free: 5.395 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_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_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.256344273220748] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y'] 8.307823629118502 8.322329989 8.181053892 Calling exit ...