Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001315/0.001315, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.001462/0.001462, allocations: 208.4 kB / 24.52 MB, free: 4.141 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3021/0.3021, allocations: 46.94 MB / 361.7 MB, free: 4.27 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+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_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 0.497 GB, free: 7.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3732, allocations: 66.04 MB / 0.5615 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004575/0.3778, allocations: 2.379 MB / 0.5638 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.3805, allocations: 1.424 MB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.3806, allocations: 7.938 kB / 0.5652 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.3813, allocations: 298.8 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000695/0.382, allocations: 338.6 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.3826, allocations: 215.5 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006648/0.3832, allocations: 0.5686 MB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3834, allocations: 39.09 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003371/0.3837, allocations: 258.9 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.3841, allocations: 290.8 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.3841, allocations: 20 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3842, allocations: 59.97 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3844, allocations: 119.5 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3846, allocations: 178.6 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.3851, allocations: 441.8 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3851, allocations: 0 / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3851, allocations: 0 / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3851, allocations: 0 / 0.5679 GB, free: 13.83 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.001202/0.3863, allocations: 0.7339 MB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3863, allocations: 12.03 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.709e-05/0.3863, allocations: 8.188 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.3864, allocations: 46.73 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3865, allocations: 60.56 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006453/0.3872, allocations: 357.1 kB / 0.5691 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3872, allocations: 12.12 kB / 0.5691 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.3872, allocations: 16 kB / 0.5691 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.3876, allocations: 201.8 kB / 0.5693 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.3876, allocations: 7.938 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.3877, allocations: 4 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3877, allocations: 4 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.3879, allocations: 95.86 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009472/0.3889, allocations: 0.8362 MB / 0.5702 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006295/0.3895, allocations: 285.2 kB / 0.5705 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3897, allocations: 84.27 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3898, allocations: 11.97 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.3902, allocations: 239.4 kB / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.3902, allocations: 0 / 0.5708 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002127/0.3923, allocations: 1.038 MB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3924, allocations: 162.2 kB / 0.572 GB, free: 9.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007629/0.3932, allocations: 0.6553 MB / 0.5726 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.3932, allocations: 33.7 kB / 0.5727 GB, free: 8.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3934, allocations: 233 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3936, allocations: 138.9 kB / 0.573 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3937, allocations: 70.12 kB / 0.5731 GB, free: 8.219 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3939, allocations: 378.8 kB / 0.5734 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.3941, allocations: 100.8 kB / 0.5735 GB, free: 7.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.3944, allocations: 185.4 kB / 0.5737 GB, free: 7.535 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.3949, allocations: 296.8 kB / 0.574 GB, free: 7.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.395, allocations: 11.94 kB / 0.574 GB, free: 7.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007624/0.3957, allocations: 401.2 kB / 0.5744 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.3957, allocations: 8 kB / 0.5744 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3957, allocations: 4 kB / 0.5744 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.3958, allocations: 7.938 kB / 0.5744 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.3961, allocations: 79.91 kB / 0.5745 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.3961, allocations: 12.14 kB / 0.5745 GB, free: 6.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3963, allocations: 16 kB / 0.5745 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.3963, allocations: 19.98 kB / 0.5745 GB, free: 6.66 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.0002635/0.3966, allocations: 208.2 kB / 0.5747 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.3967, allocations: 67.56 kB / 0.5748 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/0.3977, allocations: 457.8 kB / 0.5752 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.3977, allocations: 8 kB / 0.5752 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3977, allocations: 0 / 0.5752 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3977, allocations: 0 / 0.5752 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3994, allocations: 1.26 MB / 0.5765 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3994, allocations: 4 kB / 0.5765 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3996, allocations: 47.91 kB / 0.5765 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3996, allocations: 7.938 kB / 0.5765 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3996, allocations: 15.98 kB / 0.5765 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.3996, allocations: 4 kB / 0.5766 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3996, allocations: 4 kB / 0.5766 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.4006, allocations: 0.8168 MB / 0.5774 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.4007, allocations: 51.56 kB / 0.5774 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.4007, allocations: 19.98 kB / 0.5774 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.4011, allocations: 15.98 kB / 0.5774 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.4012, allocations: 39.89 kB / 0.5775 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.4012, allocations: 23.98 kB / 0.5775 GB, free: 3.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000565/0.4018, allocations: 486.8 kB / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4018, allocations: 0 / 0.578 GB, free: 3.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005913/0.4024, allocations: 83.94 kB / 0.578 GB, free: 2.953 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.003007/0.4054, allocations: 1.749 MB / 0.5798 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006587/0.406, allocations: 275.7 kB / 0.58 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.406, allocations: 0 / 0.58 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.4064, allocations: 131.8 kB / 0.5801 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4074, allocations: 145.1 kB / 0.5803 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/0.4141, allocations: 4.533 MB / 0.5847 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008471/0.415, allocations: 0.8628 MB / 0.5855 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.4152, allocations: 84.12 kB / 0.5856 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.4155, allocations: 191.4 kB / 0.5858 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4155, allocations: 0 / 0.5858 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.451, allocations: 11.32 MB / 0.5969 GB, free: 15.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.42, allocations: 6.719 kB / 0.5969 GB, free: 15.73 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.62214266898809] 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'] 12.640314286982175 12.657267287 12.268743751 Calling exit ...