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.001266/0.001266, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001379/0.001379, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.429/1.429, allocations: 230.4 MB / 254.7 MB, free: 15.16 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.2214/0.2214, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.002296/0.002296, allocations: 83.86 kB / 0.4918 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1354, allocations: 66.04 MB / 0.5563 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003471/0.1388, allocations: 1.761 MB / 0.558 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1406, allocations: 1.036 MB / 0.559 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.1407, allocations: 3.938 kB / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.1411, allocations: 107.7 kB / 0.5591 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1414, allocations: 119.5 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1416, allocations: 83.67 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1418, allocations: 131.6 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.142, allocations: 15.98 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1421, allocations: 55.77 kB / 0.5595 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.1422, allocations: 67.73 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1422, allocations: 8 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1423, allocations: 59.97 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.1424, allocations: 31.91 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.1424, allocations: 39.62 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.1427, allocations: 155.3 kB / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1427, allocations: 0 / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1427, allocations: 4 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1427, allocations: 4 kB / 0.5598 GB, free: 1.781 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006021/0.1433, allocations: 450.4 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1434, allocations: 8.031 kB / 0.5603 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.1434, allocations: 38.75 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.1435, allocations: 16.84 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1438, allocations: 227.8 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1438, allocations: 4.375 kB / 0.5605 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1438, allocations: 12.33 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.144, allocations: 61.8 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.144, allocations: 0 / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.144, allocations: 3.938 kB / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.144, allocations: 0 / 0.5606 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.1441, allocations: 23.98 kB / 0.5606 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1445, allocations: 308.7 kB / 0.5609 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1447, allocations: 54.56 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.176e-05/0.1448, allocations: 24.97 kB / 0.561 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1448, allocations: 4 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.145, allocations: 71.44 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.145, allocations: 0 / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007447/0.1457, allocations: 249.6 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.1458, allocations: 51.41 kB / 0.5614 GB, free: 12 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.146, allocations: 255.1 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1461, allocations: 29.7 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.1461, allocations: 112.1 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.1462, allocations: 43.67 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.1462, allocations: 21.72 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1464, allocations: 334.8 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.1465, allocations: 31.98 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.1465, allocations: 45.7 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1467, allocations: 77.59 kB / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1467, allocations: 0 / 0.5623 GB, free: 15.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002251/0.1469, allocations: 129.6 kB / 0.5624 GB, free: 14.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1469, allocations: 8.031 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1469, allocations: 0 / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.147, allocations: 3.984 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.1471, allocations: 27.92 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1471, allocations: 240 / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.1471, allocations: 11.94 kB / 0.5625 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1471, allocations: 7.984 kB / 0.5625 GB, free: 14.84 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 (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.0001187/0.1473, allocations: 135 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1473, allocations: 19.89 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.1474, allocations: 29.39 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1474, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1474, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1474, allocations: 7.875 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.1479, allocations: 464 kB / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1479, allocations: 0 / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.148, allocations: 19.88 kB / 0.5631 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.148, allocations: 4.062 kB / 0.5631 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.148, allocations: 4 kB / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.148, allocations: 0 / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.148, allocations: 0 / 0.5631 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1483, allocations: 229.1 kB / 0.5633 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.1484, allocations: 96.95 kB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.1484, allocations: 4 kB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.1485, allocations: 7.984 kB / 0.5634 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1485, allocations: 11.94 kB / 0.5634 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.1485, allocations: 7.984 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1487, allocations: 184.5 kB / 0.5636 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1487, allocations: 4 kB / 0.5636 GB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000275/0.149, allocations: 31.88 kB / 0.5637 GB, free: 13.49 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 (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.002428/0.1514, allocations: 1.174 MB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1516, allocations: 75.91 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1516, allocations: 0 / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.1517, allocations: 39.98 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.1521, allocations: 35.75 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1544, allocations: 1.887 MB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1547, allocations: 0.7235 MB / 0.5675 GB, free: 9.586 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.1548, allocations: 20.58 kB / 0.5675 GB, free: 9.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.1548, allocations: 47.41 kB / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1548, allocations: 0 / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.1812, allocations: 4.061 MB / 0.5715 GB, free: 5.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.259, allocations: 10.17 kB / 0.5715 GB, free: 5.52 MB / 430.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.249023761134595] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.382488992996514 8.405088481 8.258421515 Calling exit ...