Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 212.8 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2287/0.2287, allocations: 44.94 MB / 359.6 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 67.91 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3977, allocations: 65.47 MB / 0.5578 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004372/0.4021, allocations: 2.237 MB / 0.56 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.4047, allocations: 1.339 MB / 0.5613 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.4048, allocations: 7.938 kB / 0.5613 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006504/0.4055, allocations: 287 kB / 0.5616 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007411/0.4062, allocations: 342.7 kB / 0.5619 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.4068, allocations: 219.5 kB / 0.5621 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007492/0.4075, allocations: 0.5725 MB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.4077, allocations: 47.09 kB / 0.5627 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.408, allocations: 239 kB / 0.5629 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.4084, allocations: 298.8 kB / 0.5632 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.789e-05/0.4085, allocations: 20 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.4086, allocations: 55.98 kB / 0.5633 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.4088, allocations: 123.5 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.409, allocations: 139 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.4096, allocations: 441.8 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4097, allocations: 4 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4097, allocations: 0 / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4097, allocations: 0 / 0.564 GB, free: 1.203 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001403/0.4111, allocations: 0.7339 MB / 0.5647 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4111, allocations: 12.03 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.98e-05/0.4111, allocations: 8.188 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.4112, allocations: 46.73 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.4113, allocations: 60.56 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.412, allocations: 357.4 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.412, allocations: 15.75 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.412, allocations: 12 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.4125, allocations: 209.8 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4125, allocations: 3.938 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.4125, allocations: 8 kB / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4125, allocations: 0 / 0.5654 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.4128, allocations: 111.9 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.4139, allocations: 0.8245 MB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.4146, allocations: 289.2 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.4149, allocations: 96.25 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.4149, allocations: 7.938 kB / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/0.4154, allocations: 235.4 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.4154, allocations: 0 / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002383/0.4178, allocations: 1.068 MB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/0.418, allocations: 166.2 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009782/0.4189, allocations: 0.6709 MB / 0.5687 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.419, allocations: 41.7 kB / 0.5688 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.4192, allocations: 241 kB / 0.569 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.4194, allocations: 127 kB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.4196, allocations: 74.12 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002297/0.4198, allocations: 374.7 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.4201, allocations: 108.8 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.4204, allocations: 188.8 kB / 0.5698 GB, free: 10.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.421, allocations: 312.8 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.421, allocations: 4 kB / 0.5701 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008558/0.4218, allocations: 421 kB / 0.5705 GB, free: 10.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4219, allocations: 6.656 kB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4219, allocations: 7.984 kB / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4219, allocations: 7.938 kB / 0.5706 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.4222, allocations: 75.91 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.4222, allocations: 7.984 kB / 0.5707 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.4224, allocations: 21.5 kB / 0.5707 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.4225, allocations: 19.98 kB / 0.5707 GB, free: 9.922 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.0002935/0.4228, allocations: 216.2 kB / 0.5709 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4229, allocations: 67.56 kB / 0.571 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.424, allocations: 494.1 kB / 0.5714 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.424, allocations: 4 kB / 0.5714 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.424, allocations: 4 kB / 0.5714 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.424, allocations: 7.969 kB / 0.5714 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.4259, allocations: 1.272 MB / 0.5727 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4259, allocations: 0 / 0.5727 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.4261, allocations: 55.86 kB / 0.5727 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.4261, allocations: 4 kB / 0.5727 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.4261, allocations: 19.98 kB / 0.5728 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.4261, allocations: 8 kB / 0.5728 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.4261, allocations: 7.938 kB / 0.5728 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.4274, allocations: 0.8636 MB / 0.5736 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.4275, allocations: 63.5 kB / 0.5737 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.4276, allocations: 15.98 kB / 0.5737 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.428, allocations: 19.98 kB / 0.5737 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.4281, allocations: 35.94 kB / 0.5738 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.4282, allocations: 20 kB / 0.5738 GB, free: 6.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000732/0.4289, allocations: 0.4949 MB / 0.5743 GB, free: 6.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4289, allocations: 0 / 0.5743 GB, free: 6.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006199/0.4295, allocations: 87.92 kB / 0.5743 GB, free: 6.062 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 (45): * Single equations (assignments): 35 * 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.003601/0.4331, allocations: 1.828 MB / 0.5761 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007526/0.4339, allocations: 299.3 kB / 0.5764 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.4339, allocations: 4 kB / 0.5764 GB, free: 4.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.4342, allocations: 149 kB / 0.5766 GB, free: 3.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4353, allocations: 147.8 kB / 0.5767 GB, free: 3.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/0.4421, allocations: 4.585 MB / 0.5812 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.4424, allocations: 264 kB / 0.5814 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.4427, allocations: 87.38 kB / 0.5815 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.443, allocations: 191.4 kB / 0.5817 GB, free: 14.49 MB / 430.1 MB Notification: Performance of SimCode: time 1.413e-06/0.443, allocations: 0 / 0.5817 GB, free: 14.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03621/0.4792, allocations: 11.94 MB / 0.5933 GB, free: 2.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.78, allocations: 8.047 kB / 0.5934 GB, free: 2.711 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.86170410795603] 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'] 13.001916175941005 13.018347987 12.603950957 Calling exit ...