Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.001353/0.001353, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001498/0.001498, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.457/1.457, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2176/0.2176, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",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.003706/0.003706, allocations: 75.88 kB / 0.497 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4177, allocations: 66.07 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004221/0.4219, allocations: 1.845 MB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.4244, allocations: 1.115 MB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.4245, allocations: 3.938 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.425, allocations: 303.3 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.4255, allocations: 255.2 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.4257, allocations: 107.6 kB / 0.5651 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.4261, allocations: 271.2 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.4262, allocations: 9.797 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.4264, allocations: 139.5 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.4266, allocations: 208 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.4267, allocations: 8 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.4268, allocations: 48.02 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.4269, allocations: 136.4 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.4271, allocations: 150.8 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.4275, allocations: 372.2 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4275, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4275, allocations: 4 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4275, allocations: 0 / 0.5664 GB, free: 15.34 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.001073/0.4286, allocations: 0.6746 MB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4286, allocations: 12.03 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.4287, allocations: 38.73 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.4288, allocations: 52.61 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.4295, allocations: 382.6 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4295, allocations: 8.359 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.4295, allocations: 8.375 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.4297, allocations: 91.44 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4297, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.4297, allocations: 7.969 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4297, allocations: 0 / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4299, allocations: 27.98 kB / 0.5676 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.4303, allocations: 349.5 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.4306, allocations: 97.17 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4307, allocations: 37.7 kB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4307, allocations: 7.984 kB / 0.5681 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.431, allocations: 120.9 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.542e-06/0.431, allocations: 0 / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006636/0.4317, allocations: 201.2 kB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.4317, allocations: 77.11 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.4335, allocations: 1.03 MB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.4336, allocations: 29.7 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.4338, allocations: 232.1 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.4339, allocations: 27.84 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.434, allocations: 29.72 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.4342, allocations: 366.7 kB / 0.5701 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.4343, allocations: 27.98 kB / 0.5702 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4345, allocations: 67.41 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.4347, allocations: 91.86 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4347, allocations: 0 / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004579/0.4352, allocations: 181.1 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4352, allocations: 4 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4352, allocations: 4 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4353, allocations: 0 / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4354, allocations: 23.98 kB / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4354, allocations: 0 / 0.5705 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.4356, allocations: 15.89 kB / 0.5705 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.4356, allocations: 4 kB / 0.5705 GB, free: 10.8 MB / 414.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003617/0.436, allocations: 223.5 kB / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/0.4361, allocations: 55.61 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.4366, allocations: 197.8 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4366, allocations: 4 kB / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4366, allocations: 0 / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4366, allocations: 0 / 0.571 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.4371, allocations: 312.5 kB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.4371, allocations: 7.938 kB / 0.5713 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.4372, allocations: 11.98 kB / 0.5713 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4372, allocations: 0 / 0.5713 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.4372, allocations: 12.25 kB / 0.5713 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4372, allocations: 0 / 0.5713 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4372, allocations: 4 kB / 0.5713 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.4377, allocations: 221.4 kB / 0.5715 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.4378, allocations: 71.53 kB / 0.5716 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.4379, allocations: 3.938 kB / 0.5716 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.438, allocations: 12 kB / 0.5716 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.4381, allocations: 7.984 kB / 0.5716 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.4381, allocations: 11.97 kB / 0.5716 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.4394, allocations: 0.7604 MB / 0.5724 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4394, allocations: 0 / 0.5724 GB, free: 8.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.4398, allocations: 44 kB / 0.5724 GB, free: 8.789 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002645/0.4424, allocations: 1.05 MB / 0.5735 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.4428, allocations: 83.89 kB / 0.5735 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4428, allocations: 0 / 0.5735 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.443, allocations: 39.92 kB / 0.5736 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.4436, allocations: 78.31 kB / 0.5737 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.4522, allocations: 4.48 MB / 0.578 GB, free: 3.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.4528, allocations: 0.8387 MB / 0.5788 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.453, allocations: 54.95 kB / 0.5789 GB, free: 2.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.4533, allocations: 151.4 kB / 0.579 GB, free: 1.988 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4533, allocations: 0 / 0.579 GB, free: 1.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.4892, allocations: 9.136 MB / 0.588 GB, free: 8.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.706/9.195, allocations: 0 / 0.588 GB, free: 8.863 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.26303691836074] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.340028416831046 9.355133272 8.923968264 Calling exit ...