Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.001306/0.001306, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001463/0.001463, allocations: 205 kB / 21.45 MB, free: 1.629 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.415/1.415, 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.2187/0.2187, 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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",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.002306/0.002306, allocations: 83.86 kB / 0.4918 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1333, allocations: 66.04 MB / 0.5563 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003322/0.1367, allocations: 1.935 MB / 0.5581 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1386, allocations: 1.135 MB / 0.5593 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.1387, allocations: 7.938 kB / 0.5593 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.139, allocations: 167.5 kB / 0.5594 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1395, allocations: 179.3 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1397, allocations: 111.6 kB / 0.5597 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.14, allocations: 247.3 kB / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1401, allocations: 25.66 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1403, allocations: 115.5 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.1405, allocations: 147.5 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.1405, allocations: 8 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1406, allocations: 67.97 kB / 0.5603 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.44e-05/0.1407, allocations: 51.77 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.586e-05/0.1408, allocations: 83.36 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.1411, allocations: 226.9 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1411, allocations: 0 / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1411, allocations: 0 / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1411, allocations: 3.938 kB / 0.5606 GB, free: 0.9844 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007614/0.1419, allocations: 0.5446 MB / 0.5612 GB, free: 400 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1419, allocations: 8.031 kB / 0.5612 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.142, allocations: 42.73 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.142, allocations: 32.75 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.1424, allocations: 283.6 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1424, allocations: 4.375 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.1425, allocations: 8.375 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.1427, allocations: 115.5 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1427, allocations: 4 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1427, allocations: 0 / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1427, allocations: 4 kB / 0.5616 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.1429, allocations: 51.89 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.1434, allocations: 460.8 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.1438, allocations: 125.2 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1439, allocations: 37.83 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.144, allocations: 4.094 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.1442, allocations: 128.9 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1442, allocations: 0 / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001344/0.1455, allocations: 0.4898 MB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.1456, allocations: 85.11 kB / 0.563 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.1461, allocations: 375.3 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.1461, allocations: 33.7 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1462, allocations: 144.5 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.1463, allocations: 75.39 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1464, allocations: 41.7 kB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1465, allocations: 342.8 kB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1467, allocations: 51.97 kB / 0.564 GB, free: 13.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1468, allocations: 103.3 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1471, allocations: 155.5 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1471, allocations: 4 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004043/0.1475, allocations: 229.3 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1475, allocations: 9.625 kB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1475, allocations: 3.938 kB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1475, allocations: 4 kB / 0.5645 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1477, allocations: 43.92 kB / 0.5645 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1477, allocations: 7.938 kB / 0.5645 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.1478, allocations: 11.98 kB / 0.5645 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1478, allocations: 8 kB / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001564/0.148, allocations: 153.8 kB / 0.5647 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.148, allocations: 31.81 kB / 0.5647 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.1481, allocations: 41.77 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1481, allocations: 0 / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.1481, allocations: 7.984 kB / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1481, allocations: 0 / 0.5648 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.149, allocations: 0.7194 MB / 0.5655 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.149, allocations: 4.188 kB / 0.5655 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.1491, allocations: 31.98 kB / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1491, allocations: 3.938 kB / 0.5655 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1491, allocations: 4 kB / 0.5655 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1491, allocations: 7.984 kB / 0.5655 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1491, allocations: 7.938 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.1497, allocations: 418 kB / 0.5659 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.1497, allocations: 104.9 kB / 0.566 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1498, allocations: 8 kB / 0.566 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1499, allocations: 4 kB / 0.566 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.15, allocations: 31.84 kB / 0.5661 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.15, allocations: 8 kB / 0.5661 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1503, allocations: 277.9 kB / 0.5663 GB, free: 10.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1503, allocations: 0 / 0.5663 GB, free: 10.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003665/0.1506, allocations: 51.92 kB / 0.5664 GB, free: 10.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002637/0.1533, allocations: 1.356 MB / 0.5677 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.1537, allocations: 154.4 kB / 0.5679 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1537, allocations: 0 / 0.5679 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1538, allocations: 75.84 kB / 0.5679 GB, free: 9.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.1544, allocations: 64.75 kB / 0.568 GB, free: 9.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.1578, allocations: 2.721 MB / 0.5707 GB, free: 6.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1583, allocations: 0.7636 MB / 0.5714 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1584, allocations: 33.92 kB / 0.5714 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.1585, allocations: 91.39 kB / 0.5715 GB, free: 5.41 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1585, allocations: 0 / 0.5715 GB, free: 5.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1865, allocations: 6.137 MB / 0.5775 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/8.607, allocations: 14.16 kB / 0.5775 GB, free: 15.33 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.715618343092501] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.727279520127922 8.74880941 8.604461593 Calling exit ...