Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.00148/0.00148, allocations: 105.7 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.001577/0.001577, allocations: 214.7 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.291/1.291, allocations: 230.2 MB / 256.1 MB, free: 8.594 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.197/0.197, allocations: 46.89 MB / 359.3 MB, free: 4.977 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.002089/0.002089, allocations: 83.86 kB / 0.4941 GB, free: 9.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.257, allocations: 65.98 MB / 0.5585 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002855/0.2599, allocations: 1.747 MB / 0.5602 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2614, allocations: 1.065 MB / 0.5612 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.2615, allocations: 7.938 kB / 0.5613 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.2617, allocations: 35.77 kB / 0.5613 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.262, allocations: 87.62 kB / 0.5614 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.2622, allocations: 83.66 kB / 0.5615 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2624, allocations: 115.7 kB / 0.5616 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.2624, allocations: 13.8 kB / 0.5616 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.2625, allocations: 43.73 kB / 0.5616 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.2626, allocations: 51.75 kB / 0.5617 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2626, allocations: 4 kB / 0.5617 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.2628, allocations: 115.9 kB / 0.5618 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.2629, allocations: 19.92 kB / 0.5618 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.2629, allocations: 43.72 kB / 0.5618 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.2632, allocations: 167.4 kB / 0.562 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2632, allocations: 0 / 0.562 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2632, allocations: 7.984 kB / 0.562 GB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.2632, allocations: 0 / 0.562 GB, free: 1.586 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005354/0.2637, allocations: 438.4 kB / 0.5624 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.2637, allocations: 12.03 kB / 0.5624 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.505e-05/0.2638, allocations: 34.75 kB / 0.5625 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.2638, allocations: 8.891 kB / 0.5625 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.2641, allocations: 212.2 kB / 0.5627 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.2641, allocations: 4.375 kB / 0.5627 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2641, allocations: 11.92 kB / 0.5627 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.2642, allocations: 67.39 kB / 0.5628 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2643, allocations: 0 / 0.5628 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2643, allocations: 7.938 kB / 0.5628 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2643, allocations: 0 / 0.5628 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.178e-05/0.2643, allocations: 19.98 kB / 0.5628 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2647, allocations: 280.9 kB / 0.5631 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.2648, allocations: 70.55 kB / 0.5631 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.2649, allocations: 28.97 kB / 0.5632 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2649, allocations: 4 kB / 0.5632 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.2651, allocations: 67.39 kB / 0.5632 GB, free: 168 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2651, allocations: 4 kB / 0.5632 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005586/0.2656, allocations: 201.3 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.2657, allocations: 81.11 kB / 0.5635 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.2658, allocations: 169.4 kB / 0.5637 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2659, allocations: 29.7 kB / 0.5637 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.2659, allocations: 100.1 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.266, allocations: 31.66 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.266, allocations: 29.7 kB / 0.5638 GB, free: 15.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2661, allocations: 330.8 kB / 0.5642 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.2662, allocations: 27.98 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.2663, allocations: 58.06 kB / 0.5642 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.2664, allocations: 81.62 kB / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2664, allocations: 96 / 0.5643 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002253/0.2667, allocations: 129.5 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2667, allocations: 4 kB / 0.5644 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2667, allocations: 4 kB / 0.5644 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2667, allocations: 0 / 0.5644 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.2668, allocations: 19.98 kB / 0.5645 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2668, allocations: 11.88 kB / 0.5645 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.2668, allocations: 4 kB / 0.5645 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-06/0.2668, allocations: 4 kB / 0.5645 GB, free: 14.79 MB / 414.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 9.446e-05/0.2669, allocations: 121.8 kB / 0.5646 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.267, allocations: 19.92 kB / 0.5646 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.2672, allocations: 130.2 kB / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2672, allocations: 0 / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2672, allocations: 3.938 kB / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2672, allocations: 0 / 0.5647 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.2677, allocations: 423.2 kB / 0.5651 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2677, allocations: 3.938 kB / 0.5652 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2677, allocations: 20.02 kB / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2677, allocations: 0 / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2678, allocations: 4 kB / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2678, allocations: 0 / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2678, allocations: 0 / 0.5652 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.268, allocations: 216.3 kB / 0.5654 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.2681, allocations: 93.23 kB / 0.5655 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.2681, allocations: 8 kB / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.2682, allocations: 7.984 kB / 0.5655 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.2682, allocations: 11.92 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2682, allocations: 4 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2683, allocations: 128.5 kB / 0.5656 GB, free: 13.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2683, allocations: 0 / 0.5656 GB, free: 13.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002804/0.2686, allocations: 47.88 kB / 0.5657 GB, free: 13.46 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: 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 (10): * Single equations (assignments): 8 * 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.002196/0.2708, allocations: 1.205 MB / 0.5668 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.271, allocations: 75.91 kB / 0.5669 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.271, allocations: 0 / 0.5669 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.943e-05/0.2711, allocations: 35.92 kB / 0.567 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.2714, allocations: 38.25 kB / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2731, allocations: 1.67 MB / 0.5686 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.2734, allocations: 0.7006 MB / 0.5693 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.2734, allocations: 32.39 kB / 0.5693 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.2735, allocations: 35.42 kB / 0.5694 GB, free: 9.719 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2735, allocations: 4 kB / 0.5694 GB, free: 9.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.2985, allocations: 4.241 MB / 0.5735 GB, free: 5.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.281/7.58, allocations: 7.922 kB / 0.5735 GB, free: 5.453 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.115806204994442]