Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001796/0.001796, allocations: 122.6 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.002146/0.002146, allocations: 206.6 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.491/1.491, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2335/0.2335, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",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.00227/0.00227, allocations: 87.86 kB / 0.4918 GB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1436, allocations: 66.04 MB / 0.5563 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003683/0.1473, allocations: 1.928 MB / 0.5581 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1493, allocations: 1.139 MB / 0.5592 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.1494, allocations: 4 kB / 0.5593 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.1498, allocations: 167.5 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.1503, allocations: 187.2 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1506, allocations: 119.7 kB / 0.5597 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.1509, allocations: 247.3 kB / 0.5599 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1511, allocations: 13.69 kB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1512, allocations: 119.5 kB / 0.5601 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.1514, allocations: 147.5 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.1515, allocations: 11.94 kB / 0.5602 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1516, allocations: 55.98 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.1517, allocations: 51.83 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.1518, allocations: 83.36 kB / 0.5604 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.1521, allocations: 242.9 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1521, allocations: 0 / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1521, allocations: 0 / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1521, allocations: 0 / 0.5606 GB, free: 0.9492 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.0008276/0.153, allocations: 0.5329 MB / 0.5612 GB, free: 376 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.153, allocations: 16.02 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.1531, allocations: 34.75 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1531, allocations: 28.75 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.1535, allocations: 291.6 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1536, allocations: 8.375 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.1536, allocations: 4.375 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.1538, allocations: 115.5 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1538, allocations: 3.938 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1539, allocations: 4 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1539, allocations: 0 / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.154, allocations: 51.95 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1546, allocations: 468.8 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.155, allocations: 117.2 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1551, allocations: 49.75 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1551, allocations: 0 / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.1553, allocations: 121 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1553, allocations: 4 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.1567, allocations: 497.6 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.1567, allocations: 81.05 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.1572, allocations: 371.3 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1572, allocations: 29.7 kB / 0.5633 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1573, allocations: 152.5 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.556e-05/0.1574, allocations: 83.36 kB / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.1574, allocations: 37.72 kB / 0.5636 GB, free: 13.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1576, allocations: 342.8 kB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1578, allocations: 59.97 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1579, allocations: 91.34 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1582, allocations: 159.5 kB / 0.5642 GB, free: 12.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1582, allocations: 4 kB / 0.5642 GB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004234/0.1586, allocations: 233.3 kB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1587, allocations: 8 kB / 0.5645 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.1587, allocations: 3.938 kB / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1587, allocations: 0 / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1588, allocations: 44.05 kB / 0.5645 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1588, allocations: 7.984 kB / 0.5645 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.1589, allocations: 11.94 kB / 0.5645 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1589, allocations: 11.94 kB / 0.5645 GB, free: 12.65 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.0001729/0.1591, allocations: 161.8 kB / 0.5647 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.1592, allocations: 27.81 kB / 0.5647 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.709e-05/0.1592, allocations: 37.77 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1592, allocations: 4 kB / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1592, allocations: 0 / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.1592, allocations: 8 kB / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1602, allocations: 0.7194 MB / 0.5655 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1603, allocations: 4 kB / 0.5655 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.1603, allocations: 23.94 kB / 0.5655 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1603, allocations: 8.125 kB / 0.5655 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1604, allocations: 11.98 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1604, allocations: 4 kB / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1604, allocations: 0 / 0.5655 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.1609, allocations: 421.8 kB / 0.5659 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.161, allocations: 100.9 kB / 0.566 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.161, allocations: 8 kB / 0.566 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1612, allocations: 11.98 kB / 0.566 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.1612, allocations: 23.92 kB / 0.5661 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.1612, allocations: 8 kB / 0.5661 GB, free: 10.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.1616, allocations: 281.9 kB / 0.5663 GB, free: 10.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1616, allocations: 0 / 0.5663 GB, free: 10.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003585/0.1619, allocations: 47.94 kB / 0.5664 GB, free: 10.63 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.00275/0.1647, allocations: 1.367 MB / 0.5677 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003832/0.165, allocations: 151.8 kB / 0.5679 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.165, allocations: 0 / 0.5679 GB, free: 9.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.1652, allocations: 72.09 kB / 0.5679 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.1657, allocations: 64.77 kB / 0.568 GB, free: 9.137 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003481/0.1692, allocations: 2.721 MB / 0.5707 GB, free: 6.293 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.1697, allocations: 0.7597 MB / 0.5714 GB, free: 5.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.1698, allocations: 37.94 kB / 0.5714 GB, free: 5.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.1699, allocations: 91.39 kB / 0.5715 GB, free: 5.379 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1699, allocations: 0 / 0.5715 GB, free: 5.379 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.1992, allocations: 6.138 MB / 0.5775 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.196/9.395, allocations: 15.36 kB / 0.5775 GB, free: 15.3 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_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_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.609877042006701] 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'] 9.515253925230354 9.52992094 9.374910178 Calling exit ...