Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.001691/0.001691, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002175/0.002175, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2948/0.2948, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 179] 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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",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.002315/0.002315, allocations: 83.86 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3917, allocations: 66.08 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00416/0.3958, allocations: 2.382 MB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.3985, allocations: 1.42 MB / 0.5653 GB, free: 496 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.3987, allocations: 11.88 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.3994, allocations: 287 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007125/0.4001, allocations: 338.7 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.4006, allocations: 223.3 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006856/0.4013, allocations: 0.5608 MB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.4014, allocations: 43.23 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003695/0.4018, allocations: 255 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.4022, allocations: 298.8 kB / 0.5672 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.4023, allocations: 20 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.4024, allocations: 63.86 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.4026, allocations: 111.5 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.4028, allocations: 186.6 kB / 0.5676 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.4033, allocations: 429.8 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4033, allocations: 4 kB / 0.568 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4033, allocations: 4 kB / 0.568 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.4033, allocations: 0 / 0.568 GB, free: 13.68 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001245/0.4046, allocations: 0.7339 MB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4046, allocations: 12.03 kB / 0.5687 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.4047, allocations: 42.73 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.434e-05/0.4048, allocations: 56.56 kB / 0.5688 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.4055, allocations: 369.1 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.4055, allocations: 12.38 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.4056, allocations: 12.38 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.406, allocations: 209.9 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.406, allocations: 11.98 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.4061, allocations: 0 / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4061, allocations: 4 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.4064, allocations: 103.9 kB / 0.5695 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.4075, allocations: 0.8401 MB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.4082, allocations: 273.3 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.4084, allocations: 88.27 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.4085, allocations: 19.86 kB / 0.5707 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.409, allocations: 223.5 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/0.409, allocations: 0 / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002413/0.4115, allocations: 1.034 MB / 0.5719 GB, free: 9.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.4116, allocations: 166.2 kB / 0.5721 GB, free: 9.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.4124, allocations: 0.6591 MB / 0.5727 GB, free: 8.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.926e-05/0.4125, allocations: 37.7 kB / 0.5728 GB, free: 8.508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.4127, allocations: 237 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.4128, allocations: 126.9 kB / 0.5731 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4129, allocations: 74.12 kB / 0.5732 GB, free: 8.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.4132, allocations: 366.8 kB / 0.5735 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/0.4134, allocations: 104.9 kB / 0.5736 GB, free: 7.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.4137, allocations: 188.9 kB / 0.5738 GB, free: 7.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005375/0.4143, allocations: 296.8 kB / 0.5741 GB, free: 7.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4143, allocations: 0 / 0.5741 GB, free: 7.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008529/0.4151, allocations: 416.9 kB / 0.5745 GB, free: 6.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4152, allocations: 8 kB / 0.5745 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4152, allocations: 0 / 0.5745 GB, free: 6.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4152, allocations: 8 kB / 0.5745 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.4155, allocations: 83.84 kB / 0.5746 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4155, allocations: 4.391 kB / 0.5746 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4157, allocations: 15.98 kB / 0.5746 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.4158, allocations: 19.98 kB / 0.5746 GB, free: 6.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002525/0.416, allocations: 209.3 kB / 0.5748 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4161, allocations: 79.5 kB / 0.5749 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000929/0.4171, allocations: 453.7 kB / 0.5753 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4171, allocations: 4 kB / 0.5753 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4171, allocations: 0 / 0.5753 GB, free: 5.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4171, allocations: 4 kB / 0.5753 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.4187, allocations: 1.253 MB / 0.5766 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4187, allocations: 7.969 kB / 0.5766 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.4189, allocations: 55.91 kB / 0.5766 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.4189, allocations: 4 kB / 0.5766 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.4189, allocations: 8 kB / 0.5766 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.4189, allocations: 11.92 kB / 0.5766 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4189, allocations: 7.938 kB / 0.5767 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.4199, allocations: 0.8089 MB / 0.5774 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.09e-05/0.42, allocations: 51.62 kB / 0.5775 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.4201, allocations: 15.98 kB / 0.5775 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.4204, allocations: 19.92 kB / 0.5775 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.4205, allocations: 39.89 kB / 0.5776 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.4205, allocations: 19.98 kB / 0.5776 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.4211, allocations: 486.8 kB / 0.578 GB, free: 2.895 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4211, allocations: 0 / 0.578 GB, free: 2.895 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.4216, allocations: 91.92 kB / 0.5781 GB, free: 2.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002989/0.4246, allocations: 1.733 MB / 0.5798 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007427/0.4254, allocations: 276.2 kB / 0.5801 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4254, allocations: 0 / 0.5801 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.4257, allocations: 140.2 kB / 0.5802 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4268, allocations: 138.6 kB / 0.5804 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.4331, allocations: 4.534 MB / 0.5848 GB, free: 11.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.4336, allocations: 0.8589 MB / 0.5856 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.4339, allocations: 92.05 kB / 0.5857 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.4341, allocations: 191.4 kB / 0.5859 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4341, allocations: 4 kB / 0.5859 GB, free: 10.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.473, allocations: 11.18 MB / 0.5968 GB, free: 15.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/9.124, allocations: 11.36 kB / 0.5968 GB, free: 15.6 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.799361 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.337264094036072] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.270610763225704 9.287106726 8.880427295 Calling exit ...