Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.0014/0.0014, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001573/0.001573, allocations: 216.2 kB / 22.92 MB, free: 5.195 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.289/1.289, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] 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.1988/0.1988, allocations: 46.88 MB / 359.3 MB, free: 4.969 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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",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.002129/0.002129, allocations: 87.84 kB / 0.494 GB, free: 9.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2558, allocations: 65.99 MB / 0.5585 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002893/0.2587, allocations: 1.831 MB / 0.5603 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.2604, allocations: 1.116 MB / 0.5614 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.2604, allocations: 4 kB / 0.5614 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004785/0.2609, allocations: 299.3 kB / 0.5617 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.2614, allocations: 259.2 kB / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.2616, allocations: 103.6 kB / 0.562 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.2618, allocations: 255.3 kB / 0.5622 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.2619, allocations: 13.66 kB / 0.5623 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.2621, allocations: 131.6 kB / 0.5624 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.2623, allocations: 211.9 kB / 0.5626 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.2623, allocations: 8 kB / 0.5626 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.2624, allocations: 51.92 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.2626, allocations: 136.5 kB / 0.5628 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2627, allocations: 146.8 kB / 0.5629 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.2631, allocations: 372.1 kB / 0.5633 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2631, allocations: 3.938 kB / 0.5633 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2631, allocations: 0 / 0.5633 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2631, allocations: 4 kB / 0.5633 GB, free: 288 kB / 398.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.000931/0.264, allocations: 0.7485 MB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.264, allocations: 8.031 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.2641, allocations: 34.75 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.2641, allocations: 52.55 kB / 0.5641 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.2647, allocations: 452.4 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.2647, allocations: 12.31 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.2647, allocations: 7.938 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.2649, allocations: 91.34 kB / 0.5646 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2649, allocations: 0 / 0.5646 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2649, allocations: 3.938 kB / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2649, allocations: 0 / 0.5646 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.265, allocations: 35.97 kB / 0.5647 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.2654, allocations: 378.3 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.2656, allocations: 101.2 kB / 0.5651 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.2657, allocations: 41.7 kB / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2658, allocations: 0 / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.266, allocations: 109 kB / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.266, allocations: 0 / 0.5653 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004524/0.2664, allocations: 205.2 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2665, allocations: 77.11 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.2675, allocations: 1.026 MB / 0.5665 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2675, allocations: 29.7 kB / 0.5666 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.2677, allocations: 232.1 kB / 0.5668 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.2677, allocations: 23.8 kB / 0.5668 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.2678, allocations: 29.7 kB / 0.5668 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.268, allocations: 374.8 kB / 0.5672 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.268, allocations: 31.92 kB / 0.5672 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.574e-05/0.2681, allocations: 63.03 kB / 0.5673 GB, free: 11.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2683, allocations: 87.86 kB / 0.5674 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.2683, allocations: 11.94 kB / 0.5674 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002871/0.2686, allocations: 169.2 kB / 0.5675 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2686, allocations: 4 kB / 0.5676 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2686, allocations: 4 kB / 0.5676 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2686, allocations: 0 / 0.5676 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.2687, allocations: 23.98 kB / 0.5676 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2687, allocations: 11.88 kB / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.2688, allocations: 11.89 kB / 0.5676 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.2688, allocations: 8.062 kB / 0.5676 GB, free: 11.54 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.000199/0.269, allocations: 222.6 kB / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.2691, allocations: 51.67 kB / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.2695, allocations: 193.7 kB / 0.5681 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2695, allocations: 4 kB / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2695, allocations: 0 / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2695, allocations: 0 / 0.5681 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.2698, allocations: 349.6 kB / 0.5684 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2698, allocations: 11.94 kB / 0.5684 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.2698, allocations: 15.98 kB / 0.5684 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2698, allocations: 0 / 0.5684 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.2698, allocations: 0 / 0.5684 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2698, allocations: 7.938 kB / 0.5684 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2698, allocations: 0 / 0.5684 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.2702, allocations: 217.5 kB / 0.5686 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2703, allocations: 140.7 kB / 0.5688 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.2703, allocations: 15.97 kB / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.758e-05/0.2704, allocations: 4 kB / 0.5688 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2705, allocations: 7.984 kB / 0.5688 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2705, allocations: 8 kB / 0.5688 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007649/0.2712, allocations: 0.7643 MB / 0.5695 GB, free: 9.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2712, allocations: 0 / 0.5695 GB, free: 9.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.2715, allocations: 40 kB / 0.5696 GB, free: 9.41 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.001857/0.2733, allocations: 1.051 MB / 0.5706 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2736, allocations: 75.91 kB / 0.5707 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2736, allocations: 4.125 kB / 0.5707 GB, free: 8.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.2737, allocations: 51.89 kB / 0.5707 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.2741, allocations: 72.55 kB / 0.5708 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.2791, allocations: 4.481 MB / 0.5752 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.2795, allocations: 0.8505 MB / 0.576 GB, free: 2.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.2796, allocations: 55.45 kB / 0.5761 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.2798, allocations: 147.4 kB / 0.5762 GB, free: 2.609 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2798, allocations: 0 / 0.5762 GB, free: 2.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3103, allocations: 9.027 MB / 0.585 GB, free: 9.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.96, allocations: 14.88 kB / 0.585 GB, free: 9.594 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.523086506989785]